1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-05 00:51:29 +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'
})) }))