|
@ -119,7 +119,9 @@ class RtmpFD(FileDownloader): |
|
|
# Download using rtmpdump. rtmpdump returns exit code 2 when |
|
|
# Download using rtmpdump. rtmpdump returns exit code 2 when |
|
|
# the connection was interrumpted and resuming appears to be |
|
|
# the connection was interrumpted and resuming appears to be |
|
|
# possible. This is part of rtmpdump's normal usage, AFAIK. |
|
|
# possible. This is part of rtmpdump's normal usage, AFAIK. |
|
|
basic_args = ['rtmpdump', '--verbose', '-r', url, '-o', tmpfilename] |
|
|
|
|
|
|
|
|
basic_args = [ |
|
|
|
|
|
'rtmpdump', '--verbose', '-r', url, |
|
|
|
|
|
'-o', encodeFilename(tmpfilename, True)] |
|
|
if player_url is not None: |
|
|
if player_url is not None: |
|
|
basic_args += ['--swfVfy', player_url] |
|
|
basic_args += ['--swfVfy', player_url] |
|
|
if page_url is not None: |
|
|
if page_url is not None: |
|
|