]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[aenetworks:historytopic] fix topic video url
authorRemita Amine <remitamine@gmail.com>
Wed, 29 Jun 2016 15:03:32 +0000 (16:03 +0100)
committerRemita Amine <remitamine@gmail.com>
Wed, 29 Jun 2016 15:03:32 +0000 (16:03 +0100)
youtube_dl/extractor/aenetworks.py

index cbde8b46e934cd7281775046f8b26141582919d3..1376dd70fc78d0e8d8f56276ec5f25e719d08d55 100644 (file)
@@ -161,7 +161,7 @@ class HistoryTopicIE(AENetworksBaseIE):
             for episode_item in re.findall(r'<a.+?data-release-url="[^"]+"[^>]*>', webpage):
                 video_attributes = extract_attributes(episode_item)
                 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',
                         'switch': 'hls'
                     }))