projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c78212
)
[aenetworks] extract history topic playlist title
author
Remita Amine
<remitamine@gmail.com>
Wed, 29 Jun 2016 15:18:16 +0000
(16:18 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Wed, 29 Jun 2016 15:18:16 +0000
(16:18 +0100)
youtube_dl/extractor/aenetworks.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/aenetworks.py
b/youtube_dl/extractor/aenetworks.py
index 1376dd70fc78d0e8d8f56276ec5f25e719d08d55..2536f75d63f9dc3dd4395281770d374efd7dd766 100644
(file)
--- 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)
)