mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 15:50:32 +01:00
[Gamekings] Fixed typo in URL replacement
This commit is contained in:
parent
77d2b106cc
commit
f23a3ca699
@ -32,7 +32,7 @@ def _real_extract(self, url):
|
|||||||
# Todo: add medium format
|
# Todo: add medium format
|
||||||
video_url = video_url.replace(video_id, 'large/' + video_id)
|
video_url = video_url.replace(video_id, 'large/' + video_id)
|
||||||
if not (self._is_valid_url(video_url, video_id)):
|
if not (self._is_valid_url(video_url, video_id)):
|
||||||
video_url = video_url.replace(video_id + '/large', video_id)
|
video_url = video_url.replace(video_id + 'large/', video_id)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user