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

new youtube-dl behavior? #517

Closed
rubiohiguey opened this issue Nov 8, 2012 · 7 comments
Closed

new youtube-dl behavior? #517

rubiohiguey opened this issue Nov 8, 2012 · 7 comments

Comments

@rubiohiguey
Copy link

@rubiohiguey rubiohiguey commented Nov 8, 2012

Since today (last use two days ago), whenever I try to download video via youtube, it gives some numbers before downloading, see example

[youtube] Setting language
[youtube] zPmGB4nu_qM: Downloading video webpage
[youtube] zPmGB4nu_qM: Downloading video info webpage
[youtube] zPmGB4nu_qM: Extracting video information
(493, 591)
(522, 591)
(522, 1182)
(522, 1773)
(522, 2364)
(522, 2955)
(522, 3546)
(522, 4137)
(522, 4728)
(522, 5319)
(522, 5910)
(522, 6501)
[download] Destination: XYZ123.mp4

what are these numbers?

There are different numbers for different YB files.

example usage:
http_proxy=201(dot)147(dot)20(dot)245:8080 youtube-dl -o rutabl_061.mp4 http://www.youtube.com/watch?v=zPmGB4nu_qM

Thx.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 8, 2012

Sorry, this looks like a bug where we accidentally print out some tuples. Personally, I can't reproduce it. Which version of youtube-dl are you using? What's the output of

file $(which youtube-dl)
md5sum $(which youtube-dl)

? Also, it may be helpful to know the OS and Python version.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Nov 9, 2012

Uh, I'm not the first! #519
I can reproduce it but I can't understand where they come from. And I'm trying quite hard...

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Nov 9, 2012

They go on stderr...

@CraigMarkwardt
Copy link
Contributor

@CraigMarkwardt CraigMarkwardt commented Nov 9, 2012

I see the same problem (I am not the OP). It happens for every download attempt.
I'm using the current git version (listed as 2012.10.09 but I just did a complete pull).

file ./youtube-dl
./youtube-dl: a python script text executable
md5sum ./youtube-dl
02c2a961099f067a8595ac771baed12a ./youtube-dl
Python version is 2.6.5. OS is Mint 9 (=Ubuntu) kernel 2.6.35

I scanned the code but I couldn't find an obvious place where a print statement occurs.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Nov 9, 2012

I got it, and it was my fault. My HTMLParser prints the positions on which errors occurs. Probably YouTube HTML got malformed somewhere recently. Fixing, sorry!

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Nov 9, 2012

We need to roll a version anytime soon, @phihag. Sorry for the Win unattended build, but I'm having an hard time at it, I can wrap it up locally one last time if you want.

@CraigMarkwardt
Copy link
Contributor

@CraigMarkwardt CraigMarkwardt commented Nov 9, 2012

Fixed for me!

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