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.
Add support for spanish episodes on South Park #5525
Comments
|
The suggested regex fix (just add "episodios-en-espanol" to the valid URLs regex) indeed does the work: Sample URL: http://southpark.cc.com/episodios-en-espanol/s10e08-haz-el-amor-no-el-warcraft
|
|
Episodios en espanol will be available in the next version. Thanks for the report. |
|
Odd, while testing the episodes stream with English audio, not with Spanish audio as expected. I'll need to perform more testing to figure out how to pick the proper audio track. |
|
Found something:
As we can see, "en" means "English, no matter that you've entered through a Spanish page". The expected language code for Spanish episodes is "sp" (yes, not "es"). Changing the language code yields the correct playlist. However, I don't know where to poke in the code for fixing this... |
|
Any clues on how to use it then? I'm not familiar with the endless array of commandline options yet... |
|
Ah, OK, let me upgrade again, didn't noticed the full commit yet :D |
|
This has been fixed in youtube-dl 2015.04.26. See our FAQ if you have problems updating. |
South Park Studios just added their entire catalog of episodes dubbed to Latin American Spanish (http://southpark.cc.com/blog/2015/04/16/all-seasons-of-south-park-now-available-in-spanish), which is insanely great for us at the south of the border. However, youtube-dl can't deal with those as the URLs are slightly different.
After looking at the extractor source (southpark.py), the fix might be trivial:
The path for the Spanish episodes is "episodios-en-espanol", so it may be just matter of adding that string to the valid URLs regex.