From 2f38289b79ed6c265f2e7cc91e417d0f2178371a Mon Sep 17 00:00:00 2001 From: robin Date: Sun, 8 Feb 2015 13:49:32 +0100 Subject: [PATCH] [Gamekings] Fix order of replacement string Oops. --- youtube_dl/extractor/gamekings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/gamekings.py b/youtube_dl/extractor/gamekings.py index 1697f5e440..a5d854ade1 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('large/' + video_id, video_id) return { 'id': video_id,