aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-04-21 02:29:56 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-04-21 02:29:56 +0800
commitc6391cd587a26eb3d9bba7296be804f14612e919 (patch)
treea055d41cfad2acd438b5f4e6684290560a409e76 /youtube_dl/downloader
parent006ce15a0cfbf79dedd2c59b1e17344b1a130e81 (diff)
[Senate] Add new extractor (#5302)
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/f4m.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/downloader/f4m.py b/youtube_dl/downloader/f4m.py
index 4ab000d67..b1a858c45 100644
--- a/youtube_dl/downloader/f4m.py
+++ b/youtube_dl/downloader/f4m.py
@@ -389,6 +389,8 @@ class F4mFD(FileDownloader):
url = base_url + name
if akamai_pv:
url += '?' + akamai_pv.strip(';')
+ if info_dict.get('extra_param_to_segment_url'):
+ url += info_dict.get('extra_param_to_segment_url')
frag_filename = '%s-%s' % (tmpfilename, name)
try:
success = http_dl.download(frag_filename, {'url': url})