mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-05-04 09:54:25 +02:00
Update README and .env.sample
+ Add aria2c requirement + Change bearer token instructions to link to udemy-dl guides + Updated .env.sample to reflect code changes
This commit is contained in:
parent
5b548c737b
commit
6a850d52f2
@ -1,2 +1 @@
|
|||||||
UDEMY_BEARER=enter bearer token without the Bearer prefix
|
UDEMY_BEARER=Your bearer token here
|
||||||
UDEMY_COURSE_ID=course id goes here
|
|
18
README.md
18
README.md
@ -27,7 +27,7 @@ Windows is the primary development OS, but I've made an effort to support linux
|
|||||||
|
|
||||||
# Requirements
|
# Requirements
|
||||||
|
|
||||||
1. You would need to download `ffmpeg` and `mp4decrypter`from Bento4 SDK and ensure they are in path (typing their name in cmd invokes them).
|
1. You would need to download `ffmpeg`, `aria2c` and `mp4decrypter` (from Bento4 SDK) and ensure they are in path (typing their name in cmd should invoke them).
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
@ -38,24 +38,18 @@ You will need to get a few things before you can use this program:
|
|||||||
- Decryption Key ID
|
- Decryption Key ID
|
||||||
- Decryption Key
|
- Decryption Key
|
||||||
- Udemy Course URL
|
- Udemy Course URL
|
||||||
- Udemy Bearer Token
|
- Udemy Bearer Token (aka acccess token for udemy-dl users)
|
||||||
|
|
||||||
### Setting up
|
### Setting up
|
||||||
|
|
||||||
- rename `.env.sample` to `.env` _(you only need to do this if you plan to use the .env file to store your bearer token)_
|
- rename `.env.sample` to `.env` _(you only need to do this if you plan to use the .env file to store your bearer token)_
|
||||||
- rename `keyfile.example.json` to `keyfile.json`
|
- rename `keyfile.example.json` to `keyfile.json`
|
||||||
|
|
||||||
### Aquire bearer token
|
### Aquire Bearer Token
|
||||||
|
|
||||||
- open dev tools
|
- Firefox: [Udemy-DL Guide](https://github.com/r0oth3x49/udemy-dl/issues/389#issuecomment-491903900)
|
||||||
- go to network tab
|
- Chrome: [Udemy-DL Guide](https://github.com/r0oth3x49/udemy-dl/issues/389#issuecomment-492569372)
|
||||||
- in the search field, enter `api-2.0/courses`
|
- If you want to use the .env file to store your Bearer Token, edit the .env and add your token.
|
||||||
- 
|
|
||||||
- click a random request
|
|
||||||
- locate the `Request Headers` section
|
|
||||||
- copy the the text after `Authorization`, it should look like `Bearer xxxxxxxxxxx`
|
|
||||||
- 
|
|
||||||
- enter this in the `.env` file after `UDEMY_BEARER=` (you can also pass this as an argument, see advanced usage for more information)
|
|
||||||
|
|
||||||
### Key ID and Key
|
### Key ID and Key
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user