diff --git a/README.md b/README.md index d6e7ff902..0550d8970 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ which means you can modify it, redistribute it or use it however you like. downloaded videos in it. --include-ads Download advertisements as well (experimental) + --reverse-playlist Reverses video order in playlist ## Download Options: -r, --rate-limit LIMIT maximum download rate in bytes per second diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 115fc6840..baf33c655 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1357,7 +1357,7 @@ class YoutubeUserIE(InfoExtractor): # page by page until there are no video ids - it means we got # all of them. - def download_page(pagenum): + def download_page(pagenum, reverse=False): start_index = pagenum * self._GDATA_PAGE_SIZE + 1 gdata_url = self._GDATA_URL % (username, self._GDATA_PAGE_SIZE, start_index) diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 27849dca3..ca25aac98 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -237,7 +237,7 @@ def parseOpts(overrideArguments=None): help='Download advertisements as well (experimental)') selection.add_option( '--reverse-playlist', - dest='reverse_playlist', action='store_true', help='Reverse playlists') + dest='reverse_playlist', action='store_true', help='Reverses video order in playlist') authentication = optparse.OptionGroup(parser, 'Authentication Options') authentication.add_option(