Browse Source

[Gamekings] Fixed typo in URL replacement

robin 10 years ago
parent
commit
f23a3ca699
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/gamekings.py

+ 1 - 1
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,