94 Commits

Author SHA1 Message Date
Puyodead1
0719800145 fix: KID extraction error handling
+ extract_kid method will raise an error if the file does not exist
+ If KID extraction fails, the lecture will be skipped instead of causing the program to exit
2021-11-22 11:36:05 -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
8ba33270ce fix: cookies should be a string not a dict
Resolves #72
2021-11-10 09:12:11 -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
f6918e497c Bug fixes
- Remove user agent to fix 403 errors when fetching courses
- Fix ``saved`` folder not being created if it doesnt exist
2021-10-16 13:04:24 -04:00
Puyodead1
2c2e0a5c23 print stacktrace on lecture download error 2021-10-13 08:43:01 -04:00
Puyodead1
69b44b9421 Merge branch 'master' of https://github.com/Puyodead1/udemy-downloader 2021-08-20 18:30:00 -04:00
Puyodead1
5fff05c0d0 add fix for 403 errors - by gyuriX 2021-08-20 18:29:39 -04:00
Puyodead1
1f33e28f5e
Remove git dependency 2021-08-20 16:27:55 -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
bb60297821 Revert "Update main.py"
This reverts commit 480173a462648b0f9db71c4e1559aecddc654e00.
2021-08-10 00:01:05 -04:00
Puyodead1
9a51347dfa Revert "bug fix"
This reverts commit d47a3524dd410c04ba2bf06b561413e9b1d9ebd9.
2021-08-10 00:01:02 -04:00
Puyodead1
d47a3524dd bug fix
+ Fix another error
2021-08-09 10:27:52 -04:00
Puyodead1
480173a462 Update main.py
+ Fix #44
2021-08-09 02:56:14 -04:00
Puyodead1
e835ab6eb1 Merge branch 'feat-mkv' 2021-08-08 14:21:56 -04:00
Puyodead1
778d8e6f56 Bug fix
+ Fixes an error when trying to rename hls file
2021-08-08 14:15:07 -04:00
Puyodead1
9f1d7d9119 update the rest of the chapter titles 2021-08-08 14:06:21 -04:00
Puyodead1
ca40ff2b6d Updates
+ Update sanitization regex to clean exclaimation points
+ Update _sanitize method to use _clean method
+ Moved lecture file exist check to parse method, this will now also check if html files exist
+ Update chapter folder titles to use - for separating number from name
2021-08-08 14:03:24 -04:00
Puyodead1
6137e44d76 Update useragent 2021-08-08 13:43:06 -04:00
Puyodead1
5ec615e4e3 Updates and bug fixes
+ Fixed mis-named variable
+ Removed unused ``working_dir`` code
+ Fixed issue with course info feature not working
+ Added versioning system to help with debugging
+ Updated requirements file
2021-08-08 13:40:23 -04:00
Puyodead1
1f72e875f5 Update main.py 2021-08-04 14:56:48 -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
6d4d93c9d8 fix: issue with hls downloads being deleted during cleanup process
Encrypted HLS Files were being downloaded with the same name as the final merged lecture causing it to be removed during the cleanup process. To fix this, ``.encrypted`` is now appended to the encrypted files.
2021-07-30 12:35:52 -04:00
Puyodead1
400316e1b3 Fix non-drm lectures not having proper file extension 2021-07-22 12:04:31 -04:00
Puyodead1
171f7b7719 bug fixes 2021-06-28 14:50:56 -04:00
Puyodead1
59b6419ade change directory to chapter directory instead of using full path 2021-06-28 14:28:16 -04:00
Puyodead1
6d0d3edf78 add better error handling to handle_segments method to catch failed downloads, the program will no longer exit 2021-06-27 21:51:42 -04:00
Puyodead1
4c0f4d2225 Merge branch 'master' of https://github.com/Puyodead1/udemy-downloader 2021-06-18 16:54:44 -04:00
Puyodead1
d9a72c8878 Limit the max characters for course and lecture names to 255 due to windows having a max of 260 2021-06-18 16:54:34 -04:00
Biplob Sutradhar
d7df8b18b5
without flag run ffmpeg, mp4decrypt stderr streem 2021-06-06 21:36:06 +06:00
Puyodead1
a7c02ca6ac
Revert "Update main.py" 2021-06-05 19:33:50 -04:00
mthibaut-hbc
3266b2a70c
Update main.py
Disable ipv6 for ariac2 to prevent "A socket operation was attempted to an unreachable network" error
2021-06-05 14:51:50 +02:00
Puyodead1
4ac49ec30d should i even add a commit message at this point? 2021-06-03 12:37:32 -04:00
Puyodead1
d7bfdda82e
Remove unused variable 2021-06-01 17:52:45 -04:00
Puyodead1
1d43d19a47
Merge pull request #27 from Puyodead1/feat-ytdlp
Feat: YT-DLP
2021-06-01 10:18:41 -04:00
Puyodead1
1d51b9be2f Fix: subscribed courses url missing portal name variable 2021-06-01 10:15:16 -04:00
Puyodead1
31e3802cb1 Fix: Append asset id to filename of assets
Fixes #25
2021-06-01 09:05:07 -04:00
Puyodead1
108d3bd19a Reduce max number of current downloads a user can specify 2021-05-30 17:34:03 -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
60addf51d9
Fix: FFMPEG check not being called
Resolves #23
2021-05-30 17:25:38 -04:00
Puyodead1
56e719b59f Feat: Switch to yt-dlp to avoid windows command line limitations 2021-05-30 16:49:29 -04:00
Puyodead1
c90f9c7584 Merge branch 'feat_performance_usage_improvements' 2021-05-28 23:07:59 -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
66aad0dc50 Fix: 1080p not being downloaded when selected 2021-05-28 15:28:03 -04:00
Puyodead1
1fa5bdba90 Fix: caption files having duplicated file extension 2021-05-28 10:19:37 -04:00
Puyodead1
6a2f237969
Add missing urls and methods
"My Courses" and collections
2021-05-28 10:09:50 -04:00