mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-23 11:15:35 +08:00
Remove regex
This commit is contained in:
parent
dbe8b9f5ca
commit
7f6fd812a2
@ -512,7 +512,7 @@ class PBSIE(InfoExtractor):
|
||||
url, display_id, note='Downloading player page',
|
||||
errnote='Could not download player page')
|
||||
video_id = self._search_regex(
|
||||
[r'<div\s+id="video_([0-9]+)"', r'"id":\s*"([0-9]+)"'], player_page, 'video ID')
|
||||
r'<div\s+id="video_([0-9]+)"', player_page, 'video ID')
|
||||
else:
|
||||
video_id = mobj.group('id')
|
||||
display_id = video_id
|
||||
|
Loading…
Reference in New Issue
Block a user