Xonshiz / anime-dl

Anime-dl is a command-line program to download anime from CrunchyRoll and Funimation.
MIT License
229 stars 37 forks source link

Could not extract... #77

Open Ognisty321 opened 5 years ago

Ognisty321 commented 5 years ago

Could not extract the language from the URL i used this new release https://github.com/Xonshiz/anime-dl/releases/tag/2019.01.27 https://www.crunchyroll.com/noblesse-awakening/noblesse-awakening-ova-694155

Abu3safeer commented 5 years ago

That is does to the new Crunchyroll format, looks like the new update it kinda buggy, you can add language to the url so animd-dl will extract it.

Abu3safeer commented 5 years ago

@Xonshiz The new language in requesti path (crunchyroll.com/en-GB/..) should be optional, because crunchyroll in english would not have it, only on other languages. could you just make it optional? plus in the regex it looks for two letters only, where it can be 5 (including the dash) like en-GB. https://github.com/Xonshiz/anime-dl/blob/5b68472dddf94b2c5b93c19dbfd92388004d6157/anime_dl/sites/crunchyroll.py#L42-L46

This is the list of available languages:

English (US) => none
English (UK) => en-GB
Español => es
Español (España) => es-es
Português (Brasil) =>pt-pr
Português (Portugal) => pt-pt
Français (France) =>fr
Deutsch => de
العربية => ar
Italiano =>it
Русский =>ru
maurimdx2 commented 5 years ago

same issue here

uilton-oliveira commented 5 years ago

Got the same error here on Brazil (pt-br), here is an example of url: https://www.crunchyroll.com/pt-br/mob-psycho-100/episode-1-ripped-apart-someone-is-watching-780920