diff options
author | Sergey M. <[email protected]> | 2014-02-08 21:55:28 +0700 |
---|---|---|
committer | Sergey M. <[email protected]> | 2014-02-08 21:55:28 +0700 |
commit | 082c6c867ac2630616146f67fb955ca76958e519 (patch) | |
tree | a19a85c611723359d69cf012224870841553f4f3 /youtube_dl/downloader/rtmp.py | |
parent | 03fcf1ab573501bdbde4976b7db6760a42032792 (diff) | |
download | youtube-dl-082c6c867ac2630616146f67fb955ca76958e519.tar.gz youtube-dl-082c6c867ac2630616146f67fb955ca76958e519.zip |
[bbc.co.uk] Add support for bbc.co.uk radio programmes (Closes #2184)
Diffstat (limited to 'youtube_dl/downloader/rtmp.py')
-rw-r--r-- | youtube_dl/downloader/rtmp.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/downloader/rtmp.py b/youtube_dl/downloader/rtmp.py index b165e396f..e93c28d64 100644 --- a/youtube_dl/downloader/rtmp.py +++ b/youtube_dl/downloader/rtmp.py @@ -87,8 +87,10 @@ class RtmpFD(FileDownloader): url = info_dict['url'] player_url = info_dict.get('player_url', None) page_url = info_dict.get('page_url', None) + app = info_dict.get('app', None) play_path = info_dict.get('play_path', None) tc_url = info_dict.get('tc_url', None) + flash_version = info_dict.get('flash_version', None) live = info_dict.get('rtmp_live', False) conn = info_dict.get('rtmp_conn', None) @@ -111,12 +113,16 @@ class RtmpFD(FileDownloader): basic_args += ['--swfVfy', player_url] if page_url is not None: basic_args += ['--pageUrl', page_url] + if app is not None: + basic_args += ['--app', app] if play_path is not None: basic_args += ['--playpath', play_path] if tc_url is not None: basic_args += ['--tcUrl', url] if test: basic_args += ['--stop', '1'] + if flash_version is not None: + basic_args += ['--flashVer', flash_version] if live: basic_args += ['--live'] if conn: |