forked from minhngoc25a/youtube-dl
[aenetworks:historytopic] fix topic video url
This commit is contained in:
parent
42362fdb5e
commit
4c7821227c
|
@ -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'
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in New Issue