diff options
author | Remita Amine <remitamine@gmail.com> | 2016-06-29 16:18:16 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2016-06-29 16:18:16 +0100 |
commit | c58ed8563d37e39235332b35e7feafe32711c623 (patch) | |
tree | 9ce5cf551c94748169df0b36b5655a7ffadfd662 /youtube_dl | |
parent | 4c7821227c54836a17d9c02d4f8d3dcbd97105fc (diff) |
[aenetworks] extract history topic playlist title
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/aenetworks.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/aenetworks.py b/youtube_dl/extractor/aenetworks.py index 1376dd70f..2536f75d6 100644 --- a/youtube_dl/extractor/aenetworks.py +++ b/youtube_dl/extractor/aenetworks.py @@ -8,6 +8,7 @@ from ..utils import ( update_url_query, unescapeHTML, extract_attributes, + get_element_by_attribute, ) from ..compat import ( compat_urlparse, @@ -136,6 +137,7 @@ class HistoryTopicIE(AENetworksBaseIE): 'info_dict': { 'id': 'world-war-i-history', + 'title': 'World War I History', }, 'playlist_mincount': 24, }, { @@ -165,4 +167,4 @@ class HistoryTopicIE(AENetworksBaseIE): 'mbr': 'true', 'switch': 'hls' })) - return self.playlist_result(entries, topic_id) + return self.playlist_result(entries, topic_id, get_element_by_attribute('class', 'show-title', webpage)) |