mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-30 12:36:03 +00:00
Compare commits
2 Commits
337bb8fce9
...
32fdd21fae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32fdd21fae | ||
|
|
9c9c3c89ab |
@ -21,7 +21,7 @@ class GetCourseRuPlayerIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'skip': 'JWT expired',
|
'skip': 'JWT expired',
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://cf-api-2.vhcdn.com/sign-player/?json=eyJ2aWRlb19oYXNoIjoiOGFmZDdjNDg5OTUyMTA4ZTAwZjAxOTU5MGYzNzExZjMiLCJ1c2VyX2lkIjo0MjI3MDg4MDMsInN1Yl9sb2dpbl91c2VyX2lkIjpudWxsLCJsZXNzb25faWQiOjM0MjA5NTQ5OSwiaXAiOiIxNzguMjM3LjIzOC4xMjciLCJnY19ob3N0Ijoic2Nob29sLm9sbmV2YWRlY29yLmNvbSIsInRpbWUiOjE3NDUwMTMyNDAsInBheWxvYWQiOiJ1XzQyMjcwODgwMyIsInVpX2xhbmd1YWdlIjoicnUifQ==&s=69ef351e301fa4286d5699c897c4f02b',
|
'url': 'https://cf-api-2.vhcdn.com/sign-player/?json=example',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '435735291',
|
'id': '435735291',
|
||||||
'title': '8afd7c489952108e00f019590f3711f3',
|
'title': '8afd7c489952108e00f019590f3711f3',
|
||||||
@ -178,7 +178,7 @@ class GetCourseRuIE(InfoExtractor):
|
|||||||
|
|
||||||
playlist_id = self._search_regex(
|
playlist_id = self._search_regex(
|
||||||
r'window\.(?:lessonId|gcsObjectId)\s*=\s*(\d+)', webpage, 'playlist id', default=display_id)
|
r'window\.(?:lessonId|gcsObjectId)\s*=\s*(\d+)', webpage, 'playlist id', default=display_id)
|
||||||
title = self._og_search_title(webpage) or self._html_extract_title(webpage)
|
title = self._og_search_title(webpage, default=None) or self._html_extract_title(webpage)
|
||||||
|
|
||||||
return self.playlist_from_matches(
|
return self.playlist_from_matches(
|
||||||
re.findall(GetCourseRuPlayerIE._EMBED_REGEX[0], webpage),
|
re.findall(GetCourseRuPlayerIE._EMBED_REGEX[0], webpage),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user