51 Commits

Author SHA1 Message Date
Puyodead1
b98f35cec6
add warning about account suspensions 2021-11-26 22:38:40 -05:00
Puyodead1
59538b24ce
fix typo in readme 2021-11-21 00:52:32 -05:00
Puyodead1
95b30841dc Add --disable-ipv6 option
+ Added option to disable ipv6 in aria2
+ Updated README to reflect argument changes
2021-11-19 16:17:01 -05:00
Puyodead1
97ca2cf401 updates to README and some minor code changes
+ Use proper exit code of 1 on errors
+ Added error handling for subscription based course info extraction failure
+ Slightly more verbose login failure message
+ Updates to README to improve clarification among other things
2021-11-11 23:14:51 -05:00
Puyodead1
eb3257f374 update to allow downloading if using udemy subscription
+ New requirements: `beautifulsoup4` and `lxml`
+ Added support for downloading courses included in subscription plans
+ Updated README to reflect changes
2021-11-09 20:41:25 -05:00
Puyodead1
ecc46deb6b
Update README.md 2021-11-05 10:31:25 -04:00
Puyodead1
a2748d98a4 Revert "Merge branch 'feat-mkv'"
This reverts commit e835ab6eb1819c72dc23bb4bbe16d1238405975e, reversing
changes made to 034fcc6b50a3d4a4c8f7506ea9bac58579f55a9a.
2021-08-10 00:01:07 -04:00
Puyodead1
e835ab6eb1 Merge branch 'feat-mkv' 2021-08-08 14:21:56 -04:00
Puyodead1
5b592923dc
Update README.md
Add a note about needing decryption keys
2021-08-04 15:10:45 -04:00
Puyodead1
c8945b8091 Update README
+ added note about bearer token from env being deprecated
+ updated example commands to reflect code changes
2021-08-02 20:53:07 -04:00
Puyodead1
845c0bde58 restructure method parameters
+ made all variables global so we don't have to keep passing them to methods
+ renamed ``concurrent_downloads`` to ``concurrent_connections``
+ added ``use_mkv`` option
+ fixed bug where keyfile was required to just use help command
+ updated ``README.md`` to reflect code changes
2021-08-02 20:45:48 -04:00
Puyodead1
96578c2327
document yt-dlp dependency 2021-07-15 08:31:13 -07:00
Puyodead1
a596571694
fix a typo 2021-06-17 17:21:17 -04:00
Puyodead1
2afef1cb41 Feat: Switch to yt-dlp for downloading HLS streams so we can use Aria2c
+ HLS streams are now downloaded with yt-dlp
- Removed FFMPEG download class
+ Added a new argument ``-cd``,``--concurrent-downloads`` to specify the max number of segments downloading at a time (default is 10)
+ Updated README to reflect code changes
2021-05-30 17:32:22 -04:00
Puyodead1
7a77a528aa Update README.md 2021-05-28 23:20:56 -04:00
Puyodead1
6a850d52f2 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
2021-05-28 23:17:47 -04:00
Puyodead1
5b548c737b Update README.md 2021-05-28 23:11:23 -04:00
Puyodead1
9f3bda6c6c Revert "Merge branch 'master' into feat_aria2c"
This reverts commit e6dcde0335e8fdd7278dc72e9233034a5efc2748, reversing
changes made to 1ad4f1eddee0e34d028e3e74bf331a92a8388a36.
2021-05-28 23:05:54 -04:00
Puyodead1
e6dcde0335 Merge branch 'master' into feat_aria2c 2021-05-28 23:04:56 -04:00
Puyodead1
1ad4f1edde Feat: Info argument
+ Added info argument to print course information
+ Updated spacing of some text to be more 'tree' like and easier to read
2021-05-28 16:59:52 -04:00
Puyodead1
5ffef4736e HLS parsing for 1080p+ quality
+ Added a new command argument ``--skip-hls`` to skip parsing hls playlists
+ Updated README to reflect code changes
2021-05-27 17:38:29 -04:00
Puyodead1
b667420dc2 Removed unused method, update description for quality argument 2021-05-26 23:28:49 -04:00
Puyodead1
2667629c93 Big Changes
- Removed the old ``dashdownloader_multisegment.py`` file
- Removed the ``downloader.py`` file
+ Added missing requirement to ``requirements.txt``
+ Added sanitization class
+ Updated ``vtt_to_srt.py`` to use path.join for better cross-platform support
+ Updated README to reflect code changes
- Removed the quality restriction since there are some wacky non-standard qualities and I can't possibly predict and list them all :P
+ Changed the way fallback qualities are selected so it selects the closest quality to the requested one (ex. you want 576 but the closest are 480 and 720, 576 will be selected since its the closer to 576)
+ Switched to sessions
+ Program no longer quits if decryption key isn't found, we continue downloading segments, unencrypted video, and assets
+ Program will quit before starting downloads if the keyfile doesn't exist
+ Added an argument to keep vtt caption files ``--keep-vtt``
+ Properly handle large courses (code credit to r0oth3x49) (Fixes #18)
+ Updated parsing for course data (modified from code by r0oth3x49)

This update should be considered as unstable, it will probably have problems. If you find an issue, please create a GitHub issue.
2021-05-26 23:18:52 -04:00
Puyodead1
65db666706
I like badges, do you? 2021-05-23 20:44:26 -04:00
Puyodead1
cb98f57bd0 Update README.md
- Removed threading related stuff
2021-05-21 19:52:29 -04:00
Puyodead1
aab19bf66f New Experimental Downloader, bug fixes, and small updates
+ Updated cleanup function to remove the entire temporary lecture folder instead of just leaving behind tons of empty folders
+ Fixed typo in mux function
+ Segment count is now properly calculated from segment timeline
+ Manifest is now parsed from the URL instead of being downloaded, this should be better for downloading multiple courses at once.
+ Fixed a bug where audio content_type would try to find a max quality
+ New Downloader: Threaded Downloader uses multiple threads to download files, this should improve download speeds greatly. By default, the threaded downloader is not used, you can use the threaded downloader by passing ``--use-threaded-downloader``. By default, it only uses 10 threads, you can set a custom number of threads with the ``--threads`` option
2021-05-21 13:38:24 -04:00
Puyodead1
f62bb52816 Update README.md
+ Add badges to README
2021-05-20 22:56:42 -04:00
Puyodead1
0782c42df7 Major Updates to performance and usage
+ You can now pass the course url to the -c argument instead of the course id
+ Fixed function doc tags
+ Added experimental support for business accounts (the program should auto detect the subdomain from the course url and use it for all requests, you shouldn't need to edit the file)
- Removed the useless creation time metadata from ffmpeg
+ Updated arguments, ``course_url`` is now a required argument
- ``course_url`` will no longer be pulled from the .env file, you can still use the .env for bearer tokens
+ Courses are now downloaded into folders titled by the course name instead of the course id
+ Updated README to reflect updates
+ Fixed a bug where external url files would be appended to each time a the downloader is restarted on a course
2021-05-20 22:34:56 -04:00
Puyodead1
e722eb3fbc fix: course directory not being created 2021-05-19 19:41:53 -04:00
Puyodead1
048fbe09bf Updates
+ Add ability to skip downloading lecture videos
+ You can now specify the Bearer token and course id as an argument to the program (see advanced usage)
+ Updated Advanced Usage section of readme
2021-05-19 17:50:20 -04:00
Puyodead1
0f08002275 updated information for captions 2021-05-19 16:09:47 -04:00
Puyodead1
d011533a6a Update credits in README
+ Add https://github.com/lbrayner/vtt-to-srt
2021-05-19 16:04:36 -04:00
Puyodead1
6c5b7870a9 Subtitle Support
+ Added support for downloading subtitles (see readme for usage)
2021-05-19 15:59:49 -04:00
Puyodead1
a867f82f2b Asset Downloading and Quality Selection
+ Added arguments
+ You can specify the download quality, if the quality you request cant be found, it will fallback to the closest (ex. you want 144, but the lowest is 360 than 360 gets downloaded. you want 1080 but 720 is the highest, 720 gets downloaded)
Note: Non-DRM and DRM video have different quality availabilities, by the looks of it, DRM has a min of 360 and a max of 1080. Non-DRM has a low of 144, and a max of 720
2021-05-19 14:43:20 -04:00
Puyodead1
08339b0db9 Update README with note about udemy business (#5, #7) 2021-05-19 12:56:47 -04:00
Puyodead1
2cc19e24f0
Update README.md 2021-05-18 20:33:31 -04:00
Puyodead1
1242dfe5d0
Update README.md 2021-05-18 20:32:57 -04:00
Puyodead1
1d57644cdf download drm videos and non-drm videos, also added progress bar 2021-05-18 20:31:39 -04:00
Puyodead1
a1e93361ac
Update README.md 2021-05-18 19:54:39 -04:00
Puyodead1
fc48c8fb2b
Update README.md 2021-05-18 19:53:24 -04:00
Puyodead1
5327d98c06
Update README.md 2021-05-18 19:36:08 -04:00
Puyodead1
bc3028a112
Update README.md 2021-05-18 19:31:47 -04:00
Puyodead1
0c63ee3891
Update README.md 2021-05-18 17:17:03 -04:00
Puyodead1
dac1e24b58
Update README.md 2021-05-18 17:14:46 -04:00
Puyodead1
bd28f7c4de
Update README.md 2021-05-18 17:13:22 -04:00
Puyodead1
a5e4f46aad
Update README.md 2021-05-18 17:11:49 -04:00
Puyodead1
3e305aac4a
Update README.md 2021-05-18 17:11:05 -04:00
Puyodead1
92445f57d1
Update README.md 2021-05-18 17:09:11 -04:00
Jayapraveen
016646a00c Update README.md 2021-04-20 20:40:05 +05:30
Jayapraveen
5490718902 Added Readme and fixed basic issues
Added usage instructions, Fixed off by 1 issue and added support for various extensions to include CMAF and other content files.
2021-04-20 20:38:46 +05:30