Browse Source

Forgot to reverse extracted video urls so they are in correct order for video selection args

totalwebcasting
Gabriel Schubiner 10 years ago
parent
commit
1b10a011ec
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/crunchyroll.py

+ 1
- 0
youtube_dl/extractor/crunchyroll.py View File

@ -306,6 +306,7 @@ class CrunchyrollShowPlaylistIE(InfoExtractor):
title = self._html_search_regex(self._TITLE_EXTR,webpage,"title",flags=re.UNICODE|re.MULTILINE)
episode_urls = [self.url_result('http://www.crunchyroll.com/{0}/{1}'.format(id, showmatch[1])) for
showmatch in re.findall(_EPISODE_ID_EXTR, webpage,re.UNICODE|re.MULTILINE|re.DOTALL)]
episode_urls.reverse()
return title, episode_urls


Loading…
Cancel
Save