1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[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 @@ class HistoryTopicIE(AENetworksBaseIE):
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'
})) }))