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

--get-url prints url two times #7631

Closed
perkint opened this issue Nov 24, 2015 · 2 comments
Closed

--get-url prints url two times #7631

perkint opened this issue Nov 24, 2015 · 2 comments

Comments

@perkint
Copy link

@perkint perkint commented Nov 24, 2015

I frequently use youtube-dl like this:

youtube-dl --get-url --get-filename 'https://www.youtube.com/watch?v=F_7S1eqKsFk'

I have a downloader script that parses the output. For some reason, the URL is printed twice before printing the filename. It never used to be that way. This makes my script sad...

But I'm happy for youtube-dl!!! Thanks and keep up the good work... :^)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 24, 2015

This is expected. First one for bestvideo second for bestaudio.

@dstftw dstftw closed this Nov 24, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Nov 24, 2015

You can pass in -f best and you'll get only one file, albeit in lower quality than the mix of the two files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.