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 when downloading one particular video #8109

Closed
liotev opened this issue Jan 2, 2016 · 6 comments
Closed

Error when downloading one particular video #8109

liotev opened this issue Jan 2, 2016 · 6 comments

Comments

@liotev
Copy link

@liotev liotev commented Jan 2, 2016

I get an error when trying to download one particular youtube video:

$youtube-dl https://www.youtube.com/watch?v=Zy6laZtRkcM
[youtube] Zy6laZtRkcM: Downloading webpage
....
File "/opt/app//bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1884, in urlopen
File "/usr/lib/python2.7/urllib2.py", line 396, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 258, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: &asrs=1&type=list&tlangs=1

@georgeoffley
Copy link

@georgeoffley georgeoffley commented Jan 2, 2016

You're running Python 2.7 have you tried update to Python 3?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 2, 2016

Post the full output of youtube-dl when run with --verbose option.

@oittaa
Copy link
Contributor

@oittaa oittaa commented Jan 7, 2016

Probably very outdated Python. Works for me with Python 2 and Python 3 in Ubuntu 14.04.

@liotev
Copy link
Author

@liotev liotev commented Jan 7, 2016

I tried it with Python 3.5, the same thing happens.
But I found out that it happens only when my config file contains "--write-auto-sub". When I disable --write-auto-sub, the video downloads without a problem.
The verbose output is attached, in case anyone is interested. (I am on Mac OS X, with Python
from Macports installation)
youtube-dl-debug-output.txt

@oittaa
Copy link
Contributor

@oittaa oittaa commented Jan 7, 2016

@liotev
Copy link
Author

@liotev liotev commented Jan 21, 2016

I created a pull request for this.

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.