[aenetworks:historytopic] fix topic video url

This commit is contained in:
Remita Amine 2016-06-29 16:03:32 +01:00
parent 42362fdb5e
commit 4c7821227c

View File

@ -161,7 +161,7 @@ def _real_extract(self, url):
for episode_item in re.findall(r'<a.+?data-release-url="[^"]+"[^>]*>', webpage): for episode_item in re.findall(r'<a.+?data-release-url="[^"]+"[^>]*>', webpage):
video_attributes = extract_attributes(episode_item) video_attributes = extract_attributes(episode_item)
entries.append(self.theplatform_url_result( entries.append(self.theplatform_url_result(
video_attributes['data-href'], video_attributes['data-id'], { video_attributes['data-release-url'], video_attributes['data-id'], {
'mbr': 'true', 'mbr': 'true',
'switch': 'hls' 'switch': 'hls'
})) }))