From cddf55300dc38b203f72ac5d3600cad55d6c7188 Mon Sep 17 00:00:00 2001 From: Robert Jacobson Date: Sun, 22 Mar 2020 08:40:14 -0400 Subject: [PATCH] separate playlist title from entry titles --- youtube_dl/extractor/digitalconcerthall.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/digitalconcerthall.py b/youtube_dl/extractor/digitalconcerthall.py index e63983e6d..4c089f8d8 100644 --- a/youtube_dl/extractor/digitalconcerthall.py +++ b/youtube_dl/extractor/digitalconcerthall.py @@ -37,8 +37,8 @@ class DigitalConcertHallIE(InfoExtractor): language = 'en' self.debug_out("url: " + url + " video_id: " + video_id + " language: " + language) webpage = self._download_webpage(url, video_id) - title = self._html_search_regex(r'(.+?)', webpage, 'title') - self.debug_out("title: " + title) + playlist_title = self._html_search_regex(r'(.+?)', webpage, 'title') + self.debug_out("playlist_title: " + playlist_title) # this returns JSON containing the urls of the playlist playlist_dict = self._download_json( @@ -69,6 +69,6 @@ class DigitalConcertHallIE(InfoExtractor): return { '_type': 'playlist', 'id': video_id, - 'title': title, + 'title': playlist_title, 'entries': entries, }