404 error downloading from YouTube channel that does exist #396

Closed
DopefishJustin opened this Issue Aug 11, 2012 · 2 comments

Projects

None yet

3 participants

@DopefishJustin

I obtained the latest youtube-dl file from git master and get the following behaviour:

$ ~/youtube-dl https://www.youtube.com/channel/UCCEsNSjX_VyBI1XDLSxc05w
[youtube] Setting language
[youtube] channel: Downloading video webpage
ERROR: unable to download video webpage: HTTP Error 404: Not Found

The channel page loads normally in the browser and running youtube-dl on the individual video URLs works fine.

Normally I use the youtube.com/user/username style of URL but it seems this user does not have one.

@GARCAD
GARCAD commented Oct 13, 2012

while you wait ...

wget http://www.youtube.com/channel/UCCEsNSjX_VyBI1XDLSxc05w --O source.htm

grep -o '/watch?v=.{11}' source.htm | sed 's/^/http://youtube.com/' | uniq > urls.txt

---or---

grep -o '/watch?v=.{11}' source.htm | sed "s/^/http://youtube.com/" | uniq > urls.txt

---and---

youtube-dl -o %(title)s.%(ext)s --batch-file urls.txt --max-quality --no-overwrites

http://tinyapps.org/blog/nix/201004110700_batch_download_youtube_bash.html

Salu2

@FiloSottile
Collaborator

youtube-dl here tries to grab a video named "channel"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment