1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-25 22:55:03 +01:00
Authored by: bashonly
This commit is contained in:
bashonly 2025-01-28 18:18:27 -06:00
parent ca4d04a99a
commit 3b4509b4bc
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

@ -172,8 +172,8 @@ class CWTVMovieIE(InfoExtractor):
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(