[Gamekings] Fixed typo in URL replacement
authorrobin <rderooij685@gmail.com>
Sun, 8 Feb 2015 12:47:27 +0000 (13:47 +0100)
committerrobin <rderooij685@gmail.com>
Sun, 8 Feb 2015 12:47:27 +0000 (13:47 +0100)
youtube_dl/extractor/gamekings.py

index bac325bd80de394044944fd040b7b8a51a67a972..1697f5e44019001f18cbf79c5ae9746f13c97a7b 100644 (file)
@@ -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,