Udemy Trick You Must Try (WorkAround)steemCreated with Sketch.

in #udemy6 years ago (edited)

Sometime back in my early days in SteemIt, I posted a Udemy trick to be able to download the course(s) on another mobile device -- a notebook or netbook, perhaps. In case you missed that post, you may find it here: Udemy Trick You Must Try.

In my continued quest to improve myself professionally, I still use this every now and then to download new courses I enroll in. However, in the past week, the script seemed to have stopped working. I did update to the latest Python packages required and pulled the latest code in github. To no avail...

I get the error: Udemy Says: 403 Unauthorized...
(as you will see on the screenshot below)

UDEMYDL.PNG

 

To those who are adventurous enough to still want to make this trick work, follow along.

Download Google's Chrome browser. If you already have it, launch the browser and press "F12" on the keyboard to open the browser's built in Development Tools.

Login to Udemy.

Then on the Development Tools, under Network, go to XHR and find the ?sessionState=.... resource. You will find a Request Headers to the bottom right of the window (as shown in the screenshot). Pardon the limited view on that screenshot, as I cannot share with you the cookies to my Udemy account.

UDEMYDLDEV.PNG

 

Copy and paste the contents of Request Headers and save it as a text file, which in this example we will name cookies.txt.

Now execute the download with the same options as before, with the additional -k cookies.txt. (python3 udemy-dl.py https://www.udemy.com/linux-high-availability-clustering -k cookies.txt)

This sample below is for the same Linux High Availability Clustering course.

UDEMYDLCOOK.PNG

 

The download trick still works, albeit a bit more technical this time.

(images and screencaps are mine)

 


If you happen to find this post helpful, send me an upvote, or resteem this post, or buy me beer by these wallets. Thanks in advance.

  • #Bitcoin (BTC) - 3Kyjg1Wj1PNGN3KhiRprxYvvQpdjC5kT3k
  • #Etherium (ETH) - 0x5F168F895C63ccC5FbEf921047bc2b63f6780c3F

Thanks! (vote for them as witness!)

 

Sort:  

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by dillagr from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

Thanks for using eSteem!
Your post has been voted as a part of eSteem encouragement program. Keep up the good work! Install Android, iOS Mobile app or Windows, Mac, Linux Surfer app, if you haven't already!
Learn more: https://esteem.app
Join our discord: https://discord.gg/8eHupPq

Hi @dillagr!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 1.896 which ranks you at #27402 across all Steem accounts.
Your rank has dropped 143 places in the last three days (old rank 27259).

In our last Algorithmic Curation Round, consisting of 240 contributions, your post is ranked at #204.

Evaluation of your UA score:
  • Only a few people are following you, try to convince more people with good work.
  • The readers like your work!
  • Try to work on user engagement: the more people that interact with you via the comments, the higher your UA score!

Feel free to join our @steem-ua Discord server

Coin Marketplace

STEEM 0.22
TRX 0.20
JST 0.034
BTC 92640.23
ETH 3113.67
USDT 1.00
SBD 3.17