mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-22 02:33:22 +08:00
[Gamekings] Fix order of replacement string
Oops.
This commit is contained in:
parent
f23a3ca699
commit
2f38289b79
@ -32,7 +32,7 @@ class GamekingsIE(InfoExtractor):
|
|||||||
# 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('large/' + video_id, video_id)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user