mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 14:14:54 +01:00
[aenetworks] extract history topic playlist title
This commit is contained in:
parent
4c7821227c
commit
c58ed8563d
|
@ -8,6 +8,7 @@
|
||||||
update_url_query,
|
update_url_query,
|
||||||
unescapeHTML,
|
unescapeHTML,
|
||||||
extract_attributes,
|
extract_attributes,
|
||||||
|
get_element_by_attribute,
|
||||||
)
|
)
|
||||||
from ..compat import (
|
from ..compat import (
|
||||||
compat_urlparse,
|
compat_urlparse,
|
||||||
|
@ -136,6 +137,7 @@ class HistoryTopicIE(AENetworksBaseIE):
|
||||||
'info_dict':
|
'info_dict':
|
||||||
{
|
{
|
||||||
'id': 'world-war-i-history',
|
'id': 'world-war-i-history',
|
||||||
|
'title': 'World War I History',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 24,
|
'playlist_mincount': 24,
|
||||||
}, {
|
}, {
|
||||||
|
@ -165,4 +167,4 @@ def _real_extract(self, url):
|
||||||
'mbr': 'true',
|
'mbr': 'true',
|
||||||
'switch': 'hls'
|
'switch': 'hls'
|
||||||
}))
|
}))
|
||||||
return self.playlist_result(entries, topic_id)
|
return self.playlist_result(entries, topic_id, get_element_by_attribute('class', 'show-title', webpage))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user