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

The option -g prints out an URL twice #14544

Closed
rbrito opened this issue Oct 19, 2017 · 2 comments
Closed

The option -g prints out an URL twice #14544

rbrito opened this issue Oct 19, 2017 · 2 comments
Labels

Comments

@rbrito
Copy link
Contributor

@rbrito rbrito commented Oct 19, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.10.15.1

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

I received a bug report on Debian saying that youtube-dl prints the URL twice when using the -g option, which breaks scripts.

Here goes the command line and respective output:

./youtube-dl -v --ignore-config -g "https://www.youtube.com/watch?v=VUPI2-1AHHw"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--ignore-config', u'-g', u'https://www.youtube.com/watch?v=VUPI2-1AHHw']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.10.15.1
[debug] Python version 2.7.13 - Linux-4.13.0-1-amd64-x86_64-with-debian-buster-sid
[debug] exe versions: ffmpeg 3.3.4-2, ffprobe 3.3.4-2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
https://r1---sn-8p8v-bg0r.googlevideo.com/videoplayback?id=5543c8dbed401c7c&itag=137&source=youtube&requiressl=yes&usequic=no&mn=sn-8p8v-bg0r&mm=31&initcwndbps=192500&ms=au&mv=m&pl=24&ei=bRTpWbn2M8KHwwSIz6WgDw&ratebypass=yes&mime=video/mp4&gir=yes&clen=128674164&lmt=1504239354350723&dur=327.493&signature=61F456E76ADA58BD6AE8F21D1A7136ABF26923B8.202A99DBCE1E36073621BD166CE84702EF651332&key=dg_yt0&mt=1508447246&ip=189.69.171.97&ipbits=0&expire=1508468941&sparams=ip,ipbits,expire,id,itag,source,requiressl,usequic,mn,mm,initcwndbps,ms,mv,pl,ei,ratebypass,mime,gir,clen,lmt,dur
https://r1---sn-8p8v-bg0r.googlevideo.com/videoplayback?ipbits=0&usequic=no&gir=yes&lmt=1504242544797964&source=youtube&clen=5010214&mv=m&initcwndbps=192500&expire=1508468941&ei=bRTpWeOVD8TGwwS506qgDg&key=yt6&keepalive=yes&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cusequic%2Cexpire&mn=sn-8p8v-bg0r&mm=31&ip=189.69.171.97&ms=au&requiressl=yes&pl=24&itag=251&mt=1508447246&dur=327.501&id=o-ALgEMOWm0Mf9pDy1gr2xP-Nx3L_-WW99hoFSNQCbNMyS&mime=audio%2Fwebm&signature=4EC3F9442078958600313F6C0C5EFB80DC1689C3.B2667A357CD64BD577881FCBB365993E852FD90C&ratebypass=yes

The original report is at:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827418

Thanks.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 20, 2017

One for bestvideo, one for bestaudio.

@dstftw dstftw closed this Oct 20, 2017
@dstftw dstftw added the invalid label Oct 20, 2017
@rbrito
Copy link
Contributor Author

@rbrito rbrito commented Oct 20, 2017

Oh, darn. Thanks for the sharp eye...

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
2 participants
You can’t perform that action at this time.