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 | |
parent | f23a3ca69975346d5fc30ee09b0cdceb4a384879 (diff) |
[Gamekings] Fix order of replacement string
Oops.
Diffstat (limited to 'youtube_dl/extractor')
-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 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, |