mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-09 21:10:10 +09:00
separate playlist title from entry titles
This commit is contained in:
parent
b09bb33801
commit
cddf55300d
@ -37,8 +37,8 @@ class DigitalConcertHallIE(InfoExtractor):
|
|||||||
language = 'en'
|
language = 'en'
|
||||||
self.debug_out("url: " + url + " video_id: " + video_id + " language: " + language)
|
self.debug_out("url: " + url + " video_id: " + video_id + " language: " + language)
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
title = self._html_search_regex(r'<title>(.+?)</title>', webpage, 'title')
|
playlist_title = self._html_search_regex(r'<title>(.+?)</title>', webpage, 'title')
|
||||||
self.debug_out("title: " + title)
|
self.debug_out("playlist_title: " + playlist_title)
|
||||||
|
|
||||||
# this returns JSON containing the urls of the playlist
|
# this returns JSON containing the urls of the playlist
|
||||||
playlist_dict = self._download_json(
|
playlist_dict = self._download_json(
|
||||||
@ -69,6 +69,6 @@ class DigitalConcertHallIE(InfoExtractor):
|
|||||||
return {
|
return {
|
||||||
'_type': 'playlist',
|
'_type': 'playlist',
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': title,
|
'title': playlist_title,
|
||||||
'entries': entries,
|
'entries': entries,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user