einstein95 / crunchy-xml-decoder

GNU General Public License v2.0
35 stars 14 forks source link

Cannot Get some new added Episodes #12

Closed ghost closed 9 years ago

ghost commented 9 years ago

Apparently cr is changing some of the way the subtitles work, because the one piece HD rematered episodes (1-61) cannot be get, also the saint seiya new series have this problem. When you search the sub_id it fails. Edit: looks like English works fine with the ultimate.py, but the decode.py fails.

Also the Spanish latino fails (on both py), it always tries to download the spanish from spain which does not exist (on One Piece), the bug closes the script.

Edit2: looks like they added "ñ" and fails because of that:

subtitle id='160293' link='http://www.crunchyroll.com/xml/?req=RpcApiSubtitle_GetXml&subtitle_s
cript_id=160293' title='[EspaA+-ol] EspaA+-ol' user='mugenko' default='0' delay='0'

Edit3: using this findall works for me to download spanish latino:

sub_id = re.findall("id\=([0-9]+)' title='\[Espa.+ol'", xmllist).pop()