aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobin <rderooij685@gmail.com>2015-02-08 13:47:27 +0100
committerrobin <rderooij685@gmail.com>2015-02-08 13:47:27 +0100
commitf23a3ca69975346d5fc30ee09b0cdceb4a384879 (patch)
tree3019d4a0d8be823eda28cb7aa391eb53fab3e58a
parent77d2b106ccf81e50cf41a7aa0bb320433a84e110 (diff)
[Gamekings] Fixed typo in URL replacement
-rw-r--r--youtube_dl/extractor/gamekings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gamekings.py b/youtube_dl/extractor/gamekings.py
index bac325bd8..1697f5e44 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(video_id + 'large/', video_id)
return {
'id': video_id,