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

Make it more modular #1

Merged
merged 1 commit into from
Jan 15, 2014
Merged

Make it more modular #1

merged 1 commit into from
Jan 15, 2014

Conversation

robivanknobi
Copy link
Contributor

Hi,

i wanted to use your download functions in a program of mine.

Basically these changes allow importing your apple_trailer_downloader without executing the complete program and downloading everything. The original program was moved to the >> if name == 'main':<< part and global variables are now explicitly given to the functions.

greetings
robivanknobi

@aag
Copy link
Owner

aag commented Jan 15, 2014

Thanks for the PR. I've been meaning to do some of this for a while, so I'll go ahead and merge it.

aag added a commit that referenced this pull request Jan 15, 2014
@aag aag merged commit 3eb36af into aag:master Jan 15, 2014
aag added a commit that referenced this pull request Sep 19, 2019
This commit adds an option to supply a list of URLs for which the script
will download all files, regardless of other settings. This allows the
user to do something like only download Trailer #1 for most movies (with
the `video_types = single_trailer` setting), but for movies the user is
really interested in, to download all videos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants