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

View File

@ -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(