Update youtube_dl/extractor/videocdn.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Moritz Bunse 2023-01-21 20:17:48 +01:00 committed by GitHub
parent 62e96f48db
commit 6ff4cde8e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,8 @@ class VideoCdnIE(InfoExtractor):
thumbnail = self._search_regex( thumbnail = self._search_regex(
r'\"thumbnailUrl\":\"(?P<thumbnail>[^\"]+)', r'\"thumbnailUrl\":\"(?P<thumbnail>[^\"]+)',
webpage, 'thumbnail', group='thumbnail') webpage, 'thumbnail', group='thumbnail',
default=None)
title = self._search_regex( title = self._search_regex(
r'\"name\":\"(?P<title>[^\"]+)', r'\"name\":\"(?P<title>[^\"]+)',