mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-30 17:14:03 +01:00
oops
Authored by: bashonly
This commit is contained in:
parent
ca4d04a99a
commit
3b4509b4bc
|
@ -172,8 +172,8 @@ def _real_extract(self, url):
|
|||
video_id = (
|
||||
traverse_obj(parse_qs(app_url), ('video_id', 0, {lambda x: re.fullmatch(self._UUID_RE, x)}, 0))
|
||||
or self._search_regex([
|
||||
rf'xCWTV\.Site\.curPlayingGUID\s*=\s*["\']({self._UUID_RE})["\']',
|
||||
rf'xCWTV\.Site\.viewInAppURL\s*=\s*["\']/shows/[^/?#"\']+/watch-in-app/\?play=({self._UUID_RE})',
|
||||
rf'CWTV\.Site\.curPlayingGUID\s*=\s*["\']({self._UUID_RE})["\']',
|
||||
rf'CWTV\.Site\.viewInAppURL\s*=\s*["\']/shows/[^/?#"\']+/watch-in-app/\?play=({self._UUID_RE})',
|
||||
], webpage, 'video ID'))
|
||||
|
||||
return self.url_result(
|
||||
|
|
Loading…
Reference in New Issue
Block a user