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

Can't download subs #2526

Open
ballsystemlord opened this issue Mar 7, 2014 · 4 comments
Open

Can't download subs #2526

ballsystemlord opened this issue Mar 7, 2014 · 4 comments

Comments

@ballsystemlord
Copy link

@ballsystemlord ballsystemlord commented Mar 7, 2014

As you may or may not know, mundofox, the tv station, used to broadcast alcapo2 with en subtitles but it stopped doing. I when to youtube thinking that it was likely that they had several episodes on it and I was right. I also reasoned that it would have subtitles and I was right about that two. I wanted to download the videos with the Spanish subtitles, as my intranet connection is intermittent, for future viewing and translating. However, I can't seem to find a tool to do it yours reports that there are no subtitles yet I've seen them when I visit youtube. Here's the command and it's output:

youtube-dl --all-subs -v --prefer-free-formats -f 22 --no-check-certificate 'http://www.youtube.com/watch?v=-GYoxfpy_xo&list=PLwy9RgVchUBlFyckRuq22N1qtyAdXkQOE&index=3'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--all-subs', '-v', '--prefer-free-formats', '-f', '22', '--no-check-certificate', 'http://www.youtube.com/watch?v=-GYoxfpy_xo&list=PLwy9RgVchUBlFyckRuq22N1qtyAdXkQOE&index=3']
[debug] youtube-dl version 2013.08.02
[debug] Python version 2.7.5 - Linux-3.11.6-4-desktop-x86_64-with-SuSE-13.1-x86_64
[debug] Proxy map: {}
[youtube:playlist] PLwy9RgVchUBlFyckRuq22N1qtyAdXkQOE: Downloading page #1
[youtube:playlist] PLwy9RgVchUBlFyckRuq22N1qtyAdXkQOE: Downloading page #2
[youtube:playlist] PLwy9RgVchUBlFyckRuq22N1qtyAdXkQOE: Downloading page #3
[download] Downloading playlist: EL CAPO 2
[youtube:playlist] playlist 'EL CAPO 2': Collected 68 video ids (downloading 68 of them)
[download] Downloading video #1 of 68
[youtube] Setting language
[youtube] AsRccBSooKw: Downloading video webpage
[youtube] AsRccBSooKw: Downloading video info webpage
[youtube] AsRccBSooKw: Extracting video information
[youtube] AsRccBSooKw: Checking available subtitles
WARNING: video doesn't have subtitles
WARNING: Some error while getting the subtitles
[download] Destination: El Capo 2 - Episodio 1. Solo en MundoFOX-AsRccBSooKw.mp4

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 7, 2014

Those videos are blocked from my region, but you are running an outdated version (I think we've fixed some problems with the subtitles since then) you should try with a more recent version (use sudo youtube-dl -U to get the last version).

@ballsystemlord
Copy link
Author

@ballsystemlord ballsystemlord commented Mar 7, 2014

Hey, it downloads the videos and then the subtitles (it takes a while to download videos so I did not notice before.)

----- Original Message -----
From: Jaime Marquínez Ferrándiz
Sent: 03/07/14 02:39 PM
To: rg3/youtube-dl
Subject: Re: [youtube-dl] Can't download subs (#2526)

Those videos are blocked from my region, but you are running an outdated version (I think we've fixed some problems with the subtitles since then) you should try with a more recent version (use sudo youtube-dl -U to get the last version).


Reply to this email directly or view it on GitHub:
#2526 (comment)

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 7, 2014

Is the issue solved then?

@ballsystemlord
Copy link
Author

@ballsystemlord ballsystemlord commented Mar 12, 2014

No, sadly, it was actually downloading a second video. I was trying to get 1 file at a time from a play list and it is downloading the whole thing (which I would have done eventually anyway.) I updated to the latest version, Still no go. I'm also getting:

ERROR: YouTube said: This video does not exist.

Which causes it to quit. I know some of the videos don't exist -- I have no choice in the matter, so I think it would be better if it did not quit. I've found that if you pass the --playlist-start NUMB where number is one past where the ofending url is it will continue downloading. Here's the whole out put from downloading one url (I changed the language to es, which I think is spanish, in hopes of getting spanish subtitles but it did not help):

% youtube-dl -f 22 --prefer-free-formats --write-sub --all-subs --sub-lang es --playlist-start 22 --verbose 'http://www.youtube.com/playlist?list=PLwy9RgVchUBlFyckRuq22N1qtyAdXkQOE'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '22', '--prefer-free-formats', '--write-sub', '--all-subs', '--sub-lang', 'es', '--playlist-start', '22', '--verbose', 'http://www.youtube.com/playlist?list=PLwy9RgVchUBlFyckRuq22N1qtyAdXkQOE']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.12
[debug] Python version 2.7.5 - Linux-3.11.6-4-desktop-x86_64-with-SuSE-13.1-x86_64
[debug] Proxy map: {}
[youtube:playlist] PLwy9RgVchUBlFyckRuq22N1qtyAdXkQOE: Downloading webpage
[download] Downloading playlist: EL CAPO 2
[youtube:playlist] playlist EL CAPO 2: Collected 76 video ids (downloading 55 of them)
[download] Downloading video #1 of 55
[youtube] Setting language
[youtube] N42ZqyuqEdA: Downloading webpage
[youtube] N42ZqyuqEdA: Downloading video info webpage
[youtube] N42ZqyuqEdA: Extracting video information
WARNING: unable to download video subtitles: Unable to download webpage: <urlopen error [Errno 1] _ssl.c:517: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol>
[download] El Capo 22 - Episodio 22. Solo en MundoFOX-N42ZqyuqEdA.mp4 has already been downloaded
[download] Downloading video #2 of 55
[youtube] 6pX4quOhWCg: Downloading webpage
[youtube] 6pX4quOhWCg: Downloading video info webpage
[youtube] 6pX4quOhWCg: Extracting video information
WARNING: unable to download video subtitles: Unable to download webpage: <urlopen error [Errno 1] _ssl.c:517: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol>
[download] El Capo 2 - Episodio 23. Solo en MundoFOX-6pX4quOhWCg.mp4 has already been downloaded
[download] Downloading video #3 of 55
[youtube] 1Zxk4alycZA: Downloading webpage
[youtube] 1Zxk4alycZA: Downloading video info webpage
[youtube] 1Zxk4alycZA: Extracting video information
WARNING: unable to download video subtitles: Unable to download webpage: <urlopen error [Errno 1] _ssl.c:517: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol>

----- Original Message -----
From: Jaime Marquínez Ferrándiz
Sent: 03/07/14 03:52 PM
To: rg3/youtube-dl
Subject: Re: [youtube-dl] Can't download subs (#2526)

Is the issue solved then?


Reply to this email directly or view it on GitHub:
#2526 (comment)

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
2 participants
You can’t perform that action at this time.