From: robin Date: Sun, 8 Feb 2015 12:49:32 +0000 (+0100) Subject: [Gamekings] Fix order of replacement string X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=2f38289b79ed6c265f2e7cc91e417d0f2178371a;p=youtube-dl [Gamekings] Fix order of replacement string Oops. --- diff --git a/youtube_dl/extractor/gamekings.py b/youtube_dl/extractor/gamekings.py index 1697f5e44..a5d854ade 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,