X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fgamekings.py;h=a5d854ade16cd55441b2019f76c525a61f6839b6;hb=2f38289b79ed6c265f2e7cc91e417d0f2178371a;hp=1697f5e44019001f18cbf79c5ae9746f13c97a7b;hpb=f23a3ca69975346d5fc30ee09b0cdceb4a384879;p=youtube-dl.git 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,