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

youtube-dl fails, wget succeeds #372

Open
frostyfrog opened this issue Jul 6, 2012 · 5 comments
Open

youtube-dl fails, wget succeeds #372

frostyfrog opened this issue Jul 6, 2012 · 5 comments

Comments

@frostyfrog
Copy link

@frostyfrog frostyfrog commented Jul 6, 2012

So I'm trying to download a bunch of youtube videos from a file, and I keep getting stuck on this error:

[youtube] AB_MsFG7Z1k: Downloading video webpage
[youtube] AB_MsFG7Z1k: Downloading video info webpage
[youtube] AB_MsFG7Z1k: Extracting video information
[info] Video description metadata as JSON to: 00011_Nightcore_-_Flying_High_-20110421.flv.info.json
ERROR: unable to download video data: ''

I decided to grab the url from the json file and send it to wget, which succeeded. I really want to use youtube-dl though (which doesn't try to skip over the error either :( ). Is there any known way around this problem? (I am able to redownload every video up to this point over again, so I'm not entirely sure it's youtube's fault...)

The command that I've been running is:
youtube-dl --write-info-json -a vids2 -o "%(autonumber)s_%(stitle)s_-%(upload_date)s-_%(uploader)s.%(ext)s" -wc

Edit (Added version info):

[root@Atlanta Desktop]# uname -a
Linux Atlanta 3.3.7-1-ARCH #1 SMP PREEMPT Mon May 21 22:39:59 UTC 2012 i686 GNU/Linux
[root@Atlanta Desktop]# python2.7 --version
Python 2.7.3
[root@Atlanta Desktop]# youtube-dl --version
2012.02.27
@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Aug 19, 2012

I can't reproduce it. If you kill that video from the list, does the download reach the end of the list?

@frostyfrog
Copy link
Author

@frostyfrog frostyfrog commented Sep 26, 2012

I've noticed that when running this command, I start receiving that error from episode 9 onwards.
youtube-dl -iA --write-description --write-info-json -t 'http://youtube.com/playlist?list=PLCD2CF65888663986'

Edit:
After doing some tshark investigation, it looks like youtube may be sending the data, and my computer is acknowledging it, but that error still pops up... I think I'll try the current git version, and see if there have been any changes that have fixed this.

Edit 2:
Now there are playlist issues... See: #407
This code works fine for playlists, and is what I was using...
https://github.com/rg3/youtube-dl/blob/9c228928b6a636ff4ed294e170e3de36d9bb45c5/youtube_dl/__init__.py

@ghost ghost assigned FiloSottile Oct 2, 2012
@ravkr
Copy link

@ravkr ravkr commented Jul 29, 2018

is this still a problem? or can we close it now?

@FiloSottile FiloSottile removed their assignment Jul 29, 2018
@ealgase
Copy link
Contributor

@ealgase ealgase commented Dec 11, 2018

Tested it, no longer appears to be an issue.

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.