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

fix: Make cmdline ARGS optional and change 'download_url' parameter #5

Merged
merged 1 commit into from
Oct 1, 2017

Conversation

lwgray
Copy link
Contributor

@lwgray lwgray commented Oct 1, 2017

Previously

  • Requiring video-file and subtitle cmdline args interfere with downloading Youtube videos
  • args.video_file is the incorrect parameter to be placed in 'download_url' function call at line 118
    and leads to pyTube DoesNotExist Exception

Fixes
-Delete "required" parameter from commandline argument definitions
-Change download_url parameter from args.video_file to the 'url' variable

Closes:
Github issue #1
Github issue #2
Github issue #4

- Requiring video-file and subtitle cmdline args interfere with downloading Youtube videos
- args.video_file is the incorrect parameter to be placed in 'download_url' function call at line 118
Github issue OpenGenus#1
Github issue OpenGenus#2
Github issue OpenGenus#4
@AdiChat
Copy link
Member

AdiChat commented Oct 1, 2017

Looks good. 👍

Hope you enjoy the journey with OpenGenus

@AdiChat AdiChat merged commit e777d56 into OpenGenus:master Oct 1, 2017
@lwgray lwgray deleted the hotfix/optionalparams branch October 1, 2017 04:16
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.

None yet

2 participants