Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Strange error in crunchyroll's subtitle is breaking youtube-dl download #14700
Comments
|
Thanks, Yan. But is it the problem? Cause the video is released to my country (Brazil) and I can usually watch it in Portuguese subtitles through the website. The problem only occurs when I try to download the subtitle using youtube-dl process. I try use the Geo-Restriction commands but the error message still persists. Anyway I managed to download the subtitle by another phyton process and I will use it in isolated cases like this. But I still prefer youtube-dl to download in batches. |
|
The labal indicates this video is blocked in some countries (at least in Taiwan), so I can't check what's the actual cause yet.
Mind sharing what's the tool you're using? That should help on identifying the problem in youtube-dl. |
|
It's not actually in the subtitles itself, it's crashing before it even hits the part where it checks subtitles, it's still trying to pull video information in that crash, says line 417 in crunchyroll which is the video_description regex/json
Here's the line it's parsing
I'm guessing you're right in that it is having issues with the unescaped single quotes, but it's not actually due to trying to download subs |
|
I'm getting the same error (or similar) when trying to play this video: here's what I get:
Hope this helps. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.11.06. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Hi, i try to download some subtitles from the crunchyroll. All was fine but this adress return with a strange error.
The comand that i use:
youtube-dl --all-sub --skip-download http://www.crunchyroll.com/folktales-from-japan/episode-48-the-seven-swans-the-mysterious-love-poem-o-is-hard-610541using verbose:
I try identify the subtitle name but failed:
youtube-dl --list-subs http://www.crunchyroll.com/folktales-from-japan/episode-48-the-seven-swans-the-mysterious-love-poem-o-is-hard-610541 --verboseThe page title in English show this:
> Episode 48 – The Seven Swans / The Mysterious Love Poem / 'O' Is Hard
Curiously the title of the page in Portuguese shows this:
> Episódio 48 – Os Sete Cisnes / O Misterioso Poema de Amor /
"O"é difícilAs usually the subtitle file receives the name of the episode that in Portuguese presents a kind of code #(
"O") is running this conflict.How can i fix this?