mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[historicfilms] Fix tape id extraction
This commit is contained in:
parent
1ed34f3dd6
commit
ad0c0ad3b4
@ -25,7 +25,8 @@ def _real_extract(self, url):
|
|||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
tape_id = self._search_regex(
|
tape_id = self._search_regex(
|
||||||
r'class="tapeId">([^<]+)<', webpage, 'tape id')
|
[r'class="tapeId"[^>]*>([^<]+)<', r'tapeId\s*:\s*"([^"]+)"'],
|
||||||
|
webpage, 'tape id')
|
||||||
|
|
||||||
title = self._og_search_title(webpage)
|
title = self._og_search_title(webpage)
|
||||||
description = self._og_search_description(webpage)
|
description = self._og_search_description(webpage)
|
||||||
|
Loading…
Reference in New Issue
Block a user