new youtube-dl behavior? #399

Closed
opened 2026-02-20 21:11:47 -05:00 by deekerman · 7 comments
Owner

Originally created by @rubiohiguey on GitHub (Nov 7, 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.

Originally created by @rubiohiguey on GitHub (Nov 7, 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.
Author
Owner

@phihag commented on GitHub (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.

@phihag commented on GitHub (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.
Author
Owner

@FiloSottile commented on GitHub (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 commented on GitHub (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...
Author
Owner

@FiloSottile commented on GitHub (Nov 9, 2012):

They go on stderr...

@FiloSottile commented on GitHub (Nov 9, 2012): They go on `stderr`...
Author
Owner

@CraigMarkwardt commented on GitHub (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.

@CraigMarkwardt commented on GitHub (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.
Author
Owner

@FiloSottile commented on GitHub (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 commented on GitHub (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!
Author
Owner

@FiloSottile commented on GitHub (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.

@FiloSottile commented on GitHub (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.
Author
Owner

@CraigMarkwardt commented on GitHub (Nov 9, 2012):

Fixed for me!

@CraigMarkwardt commented on GitHub (Nov 9, 2012): Fixed for me!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#399
No description provided.