Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download subtitles and presentations and handle groups #91

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

peter-tanner
Copy link

Apologies for putting multiple features in one PR, I was modifying it for my courses while scraping them so they were all added spontaneously.

Happy to split into multiple PRs, though I won't be able to for a while due to IRL stuff.

Features:

  • Subtitles are downloaded when the --subtitles flag is passed and only downloaded if they do not exist (Resolves transcript download? #77)
  • Lectures containing media files are automatically downloaded. The only one I've seen so far has a mediaType of Presentation and is used to include PDF slides with the lecture video.
  • Add --dump-json flag for debugging and for anyone who wants to know what courses were not read etc since the scraping process will mark all videos as read.

Fixes:

@soraxas
Copy link
Owner

soraxas commented Feb 11, 2025

Awesome! Thanks for the great PR with these fixes and functionalities!

I've added some comments on something to fix and some clarification needed on some parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants