summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Schubiner <gabeos@cs.washington.edu>2014-10-20 18:38:42 -0700
committerGabriel Schubiner <gabeos@cs.washington.edu>2014-10-20 18:38:42 -0700
commit1b10a011ec7544f49159ed60642128720333b8aa (patch)
tree334d94a17cc6a4d0969704172068f8f642dbc01d
parent8230018c20595a22e636b834ebb522a6a85d0d8b (diff)
downloadyoutube-dl-1b10a011ec7544f49159ed60642128720333b8aa.tar.gz
youtube-dl-1b10a011ec7544f49159ed60642128720333b8aa.tar.xz
youtube-dl-1b10a011ec7544f49159ed60642128720333b8aa.zip
Forgot to reverse extracted video urls so they are in correct order for video selection args
-rw-r--r--youtube_dl/extractor/crunchyroll.py1
1 files changed, 1 insertions, 0 deletions
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 @@ 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