From 1b10a011ec7544f49159ed60642128720333b8aa Mon Sep 17 00:00:00 2001 From: Gabriel Schubiner Date: Mon, 20 Oct 2014 18:38:42 -0700 Subject: [PATCH] Forgot to reverse extracted video urls so they are in correct order for video selection args --- youtube_dl/extractor/crunchyroll.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.py index 414c46b0d..9ac86c2be 100644 --- a/youtube_dl/extractor/crunchyroll.py +++ b/youtube_dl/extractor/crunchyroll.py @@ -306,6 +306,7 @@ def _extract_title_entries(self,id,webpage): 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