308 Commits

Author SHA1 Message Date
Puyodead1
13bc68e905 Switch to Shaka-Packager + bug fixes
+ Replaced mp4decrypt with shaka-packager
+ Fix logger not correctly setting level from arguments
+ switched all os.system to subprocess.Popen
+ extra verbosity, external commands will now print their output to make debugging much MUCH easier
+ Fixed a problem with shaka-packager failing on files with a comma
2022-01-16 14:30:49 -05:00
Puyodead1
007e5ea60f
Delete stale.yml 2022-01-15 19:03:01 -05:00
Puyodead1
ea37e8a397 bug fix 2022-01-12 19:55:30 -05:00
Puyodead1
884be3b68a
update branches in bug report form 2022-01-09 13:18:42 -05:00
Puyodead1
b97b12344b bug fix: subscription courses fail to download
+ Fixed cookies not getting loaded correctly leading to failures getting course information
2022-01-05 13:50:30 -05:00
Puyodead1
046344796c bug fixes
+ Fix debug logging not working
+ Fix captions not being downloaded
2022-01-05 12:47:20 -05:00
Puyodead1
e20699549e better debug exceptions 2022-01-01 15:29:17 -05:00
Puyodead1
52e3cd5b36 verbosity: print aria return code 2022-01-01 15:17:01 -05:00
Puyodead1
f8fab9fec9 fix: only download subtitles if there is a lecture also
+ Fix downloading subtitles for hls lectures that were skipped, only download subtitles if there is also a video lecture with it
2022-01-01 14:38:01 -05:00
Puyodead1
bb11640ed7 revert: fix: a few subprocess calls not piping output 2021-12-28 11:55:03 -05:00
Puyodead1
3176ac1191 feat: id as course name as an argument + readme update
+ adds the feature from the `id-as-course-name` branch to use the course id as the output directory name instead of the course name. this is useful to reduce the path length
+ Updated readme to reflect recent code changes
2021-12-28 11:14:35 -05:00
Puyodead1
f3b1c74f13 update: error handling for download function
+ raise exception if return code is non-0
+ version bump
2021-12-28 10:47:50 -05:00
Puyodead1
4bdbf68f58 update: more verbosity
+ Added more verbose logging during decryption and merging
+ Added error checking for decryption and merging
2021-12-28 10:42:41 -05:00
Puyodead1
72a354ed69 fix: a few subprocess calls not piping output 2021-12-28 10:19:03 -05:00
Puyodead1
aeca63d671 Update _version.py 2021-12-21 18:23:56 -05:00
Puyodead1
bc9f6ecb1a fix: empty html files being generated 2021-12-21 18:21:14 -05:00
Puyodead1
68f5172e30 refactoring, and better logging
+ Add colored console logging
+ Add file logging
+ Refactor code
+ Add `--log-level` argument
+ Moved constant variables to separate file
+ Renamed some variables to be consistent throughout the program (`concurrent_connections` -> `concurrent_downloads`, `access_token` -> `bearer_token`)
+ If a keyfile isnt detected, we only warn the user instead of warning and exiting
+ External links are now written to their own shortcut file (they are still written to a single file still also) (#26)
+ Arguments `load-from-file` and `save-to-file` are no longer suppressed
+ Added Quiz URL
+ bump version
2021-12-20 14:41:34 -05:00
Puyodead1
8756bfc266 fix for ebooks/pdf not correctly downloading 2021-12-17 08:51:02 -05:00
Puyodead1
ca34f90996
Update README.md 2021-12-05 17:49:58 -05:00
Puyodead1
51df2758b8
Update README.md 2021-12-05 17:48:14 -05:00
Puyodead1
28b2cc8e7d
Merge pull request #79 from perfectra1n/line-ending-patch 2021-12-03 16:08:13 -05:00
perf3ct
d519d62c60
strip line endings from reading cookies 2021-12-02 22:55:43 -08:00
Puyodead1
666c5c2122
Update feature_request.yml 2021-11-30 11:35:42 -05:00
Puyodead1
3c0a95a0a1
Update feature_request.yml 2021-11-30 11:34:50 -05:00
Puyodead1
317eb7c6b1
Update feature_request.yml 2021-11-30 11:32:44 -05:00
Puyodead1
1f79fb7430
fix feature request form 2021-11-30 11:30:19 -05:00
Puyodead1
5966b1662e
Delete feature_request.md 2021-11-30 11:29:05 -05:00
Puyodead1
de1419e711
Create feature_request.yml 2021-11-30 11:28:51 -05:00
Puyodead1
064cbb028b
Delete bug_report.md 2021-11-30 11:18:26 -05:00
Puyodead1
adfb204213
Create bug_report.yml 2021-11-30 11:18:10 -05:00
Puyodead1
b516c9a83a
Create FUNDING.yml 2021-11-30 11:01:04 -05:00
Puyodead1
b26c8f4b5b append lecture id to lecture assets 2021-11-28 00:53:54 -05:00
Puyodead1
8fb8d9f59d
remove unused dependency 2021-11-28 00:42:08 -05:00
Puyodead1
60eee56233 fix: attachments having id prepended to start 2021-11-28 00:04:24 -05:00
Puyodead1
152e6e1fd1 ci: stale action 2021-11-27 23:36:38 -05:00
Puyodead1
39041ff122 fix sanitization problems
+ Switched sanitization to pathvalidate package
- Removed sanitize.py file
2021-11-27 12:56:43 -05:00
Puyodead1
7c508a0762 some fixes for char decoding errors 2021-11-27 12:35:27 -05:00
Puyodead1
b98f35cec6
add warning about account suspensions 2021-11-26 22:38:40 -05:00
Puyodead1
cd15ab76d9 Create stale.yml 2021-11-24 15:11:11 -05:00
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
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
a06ef516ad
Update requirements.txt 2021-11-10 19:27:47 -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
ecc46deb6b
Update README.md 2021-11-05 10:31:25 -04: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
4ff903b247
Update bug_report.md 2021-09-25 22:24:30 -04:00