Beginning playlist reversal

This commit is contained in:
brotherBox 2014-12-23 13:38:35 +01:00
parent d3a951c09b
commit 97b2409fde
4 changed files with 2 additions and 5 deletions

View File

@ -34,8 +34,6 @@ YouTube.com and a few more sites. It requires the Python interpreter, version
your Unix box, on Windows or on Mac OS X. It is released to the public domain,
which means you can modify it, redistribute it or use it however you like.
This is a modified version to enable the reversal of a playlist. It works for me, and that is all I can promise.
# OPTIONS
-h, --help print this help text and exit
--version print program version and exit
@ -104,7 +102,6 @@ This is a modified version to enable the reversal of a playlist. It works for me
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

0
setup.py Normal file → Executable file
View File

View File

@ -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, reverse=False):
def download_page(pagenum):
start_index = pagenum * self._GDATA_PAGE_SIZE + 1
gdata_url = self._GDATA_URL % (username, self._GDATA_PAGE_SIZE, start_index)

View File

@ -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='Reverses video order in playlist')
dest='reverse_playlist', action='store_true', help='Reverse playlists')
authentication = optparse.OptionGroup(parser, 'Authentication Options')
authentication.add_option(