[Senate] Add new extractor (#5302)

This commit is contained in:
Yen Chi Hsuan 2015-04-21 02:29:56 +08:00
parent 006ce15a0c
commit c6391cd587
3 changed files with 132 additions and 0 deletions

View file

@ -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})