diff options
author | robin <rderooij685@gmail.com> | 2015-02-08 13:49:32 +0100 |
---|---|---|
committer | robin <rderooij685@gmail.com> | 2015-02-08 13:49:32 +0100 |
commit | 2f38289b79ed6c265f2e7cc91e417d0f2178371a (patch) | |
tree | 578b4c021337fa185bb7af6b9a1ad210e54b752d /youtube_dl/extractor/gamekings.py | |
parent | f23a3ca69975346d5fc30ee09b0cdceb4a384879 (diff) | |
download | youtube-dl-2f38289b79ed6c265f2e7cc91e417d0f2178371a.zip youtube-dl-2f38289b79ed6c265f2e7cc91e417d0f2178371a.tar.gz youtube-dl-2f38289b79ed6c265f2e7cc91e417d0f2178371a.tar.bz2 |
[Gamekings] Fix order of replacement string
Oops.
Diffstat (limited to 'youtube_dl/extractor/gamekings.py')
-rw-r--r-- | youtube_dl/extractor/gamekings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gamekings.py b/youtube_dl/extractor/gamekings.py index 1697f5e..a5d854a 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, |