Forgot to reverse extracted video urls so they are in correct order for video selecti...
authorGabriel Schubiner <gabeos@cs.washington.edu>
Tue, 21 Oct 2014 01:38:42 +0000 (18:38 -0700)
committerGabriel Schubiner <gabeos@cs.washington.edu>
Tue, 21 Oct 2014 01:38:42 +0000 (18:38 -0700)
youtube_dl/extractor/crunchyroll.py

index 414c46b0d5e042be0e29ececf069a6c331e30197..9ac86c2be786cddc6e655a6178ba2346fc0b822d 100644 (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