Skip to content

A feature-rich command-line audio/video downloader

[Gamekings] Fixed typo in URL replacement

robinf23a3ca69975
diff --git a/youtube_dl/extractor/gamekings.py b/youtube_dl/extractor/gamekings.py
index bac325bd80..1697f5e440 100644
--- a/youtube_dl/extractor/gamekings.py
+++ b/youtube_dl/extractor/gamekings.py
@@ -32,7 +32,7 @@ class GamekingsIE(InfoExtractor):
# Todo: add medium format
video_url = video_url.replace(video_id, 'large/' + 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 {
'id': video_id,