mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 08:47:41 +00:00
[aenetworks] extract history topic playlist title
This commit is contained in:
parent
4c7821227c
commit
c58ed8563d
1 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue