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

Error 404 with 2013.06.34.2 version only #959

Closed
pierreporte opened this issue Jun 28, 2013 · 3 comments
Closed

Error 404 with 2013.06.34.2 version only #959

pierreporte opened this issue Jun 28, 2013 · 3 comments

Comments

@pierreporte
Copy link

@pierreporte pierreporte commented Jun 28, 2013

I create this issue because youtube-dl asked for it.

I want to download every video of a channel, so I installed youtube-dl (I use Archlinux) in the version 2013.06.34.1 (community repository), and I got this:

$ youtube-dl -t -f 44/35/18/34 "http://www.youtube.com/user/cestpassorcierftv"
[youtube:user] cestpassorcierftv: Downloading video ids from 1 to 51
[youtube:user] cestpassorcierftv: Downloading video ids from 51 to 101
[youtube:user] cestpassorcierftv: Downloading video ids from 101 to 151
[youtube:user] cestpassorcierftv: Downloading video ids from 151 to 201
[youtube:user] cestpassorcierftv: Downloading video ids from 201 to 251
[youtube:user] cestpassorcierftv: Downloading video ids from 251 to 301
[youtube:user] cestpassorcierftv: Downloading video ids from 301 to 351
[youtube:user] cestpassorcierftv: Downloading video ids from 351 to 401
[download] Downloading playlist: cestpassorcierftv
[youtube:user] playlist 'cestpassorcierftv': Collected 367 video ids (downloading 367 of them)
[download] Downloading video #1 of 367
[youtube] Setting language
[youtube] 0TzcKioh2rg: Downloading video webpage
[youtube] 0TzcKioh2rg: Downloading video info webpage
[youtube] 0TzcKioh2rg: Extracting video information
ERROR: unable to download video

After reading the README file, I tried youtube-dl --update, but I got It looks like you installed youtube-dl with pip, setup.py or a tarball. Please use that to update. (which is not the case actually). Update with pip did not work (I have several problems with my environment), so I installed the git version (on AUR), this is, when I write these lines, the 2013.06.34.2.

But due to update problems with my installation, I installed the git version (2013.06.34.2) and I ran the same command as before:

$ youtube-dl -t -f 44/35/18/34 "http://www.youtube.com/user/cestpassorcierftv"
[youtube] Setting language
[youtube] user: Downloading video webpage
ERROR: Unable to download video webpage: HTTP Error 404: Not Found; please report this issue on http://yt-dl.org/bug

I don't understant this 404 error, because the previous versions seems to find the videos. Everything works fine with

$ youtube-dl -t -f 44/35/18/34 "http://www.youtube.com/watch?v=v0eI4ABO91U"

for instance.

@phihag
Copy link
Contributor

@phihag phihag commented Jul 1, 2013

Works fine for me with 2013.06.34.4:

$ youtube-dl -f 44/35/18/34 "http://www.youtube.com/watch?v=v0eI4ABO91U" -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '44/35/18/34', 'http://www.youtube.com/watch?v=v0eI4ABO91U', '-v']
[debug] youtube-dl version 2013.06.34.4
[debug] Git HEAD: d7f44b5
[debug] Python version 2.7.5+ - Linux-3.4-trunk-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[youtube] Setting language
[youtube] v0eI4ABO91U: Downloading video webpage
[youtube] v0eI4ABO91U: Downloading video info webpage
[youtube] v0eI4ABO91U: Extracting video information
[youtube] v0eI4ABO91U: Encrypted signatures detected.
[youtube] encrypted signature length 86 (42.43), itag 44, html5 player vfl_ymO4Z
[youtube] encrypted signature length 86 (42.43), itag 35, html5 player vfl_ymO4Z
[youtube] encrypted signature length 86 (42.43), itag 43, html5 player vfl_ymO4Z
[youtube] encrypted signature length 86 (42.43), itag 34, html5 player vfl_ymO4Z
[youtube] encrypted signature length 86 (42.43), itag 18, html5 player vfl_ymO4Z
[youtube] encrypted signature length 86 (42.43), itag 5, html5 player vfl_ymO4Z
[youtube] encrypted signature length 86 (42.43), itag 36, html5 player vfl_ymO4Z
[youtube] encrypted signature length 86 (42.43), itag 17, html5 player vfl_ymO4Z
[download] Destination: C'est pas sorcier - Les sorciers ne manquent pas d'air ! (l'aérodynamique)-v0eI4ABO91U.webm

Can you retry? This may have just been a temporary failure of YouTube.

Also, the update error message is thrown when we detect that you're not using using youtube-dl as downloaded. I've added a note about distribution packages there, although we may want to simply ignore that and overwrite the executable if it is becoming a problem.

phihag added a commit that referenced this issue Jul 1, 2013
@yasoob
Copy link
Contributor

@yasoob yasoob commented Jul 2, 2013

@pierreporte can you test it again and if it fails again then include the whole output by running with --verbose flag. For eg youtube-dl --verbose -t -f 44/35/18/34 "http://www.youtube.com/user/cestpassorcierftv"

@pierreporte
Copy link
Author

@pierreporte pierreporte commented Jul 3, 2013

I tried again some days ago after installing the 2013.06.34.

@phihag, downloading a single video always worked. The problem was with a channel only.

With the last version, it worked. I don't know why exactly, but it seems that youtube-dl has problems connecting with Youtube's servers. It's a known bug of my computers. The fact is, after some repetitions of the command (the same as @yasoob's), a video download, but due to the connection problems, I only got the first.

Anyway. I will provide all outputs for getting at least one video using this command:

youtube-dl --verbose -t -f 44/35/18/34 "http://www.youtube.com/user/cestpassorcierftv"

Go to http://0bin.net/paste/ab6b2cae7f0ccf5b5bf32ccfb17bc24d84aa597f#4MRjGezC1uyN22/AWYYIWcXPvV47MHjcncFhUpkhMHU=

By the way, I just noticed that the video already downloaded are detected, it's very good!

@dstftw dstftw closed this Jan 24, 2016
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.