X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fgamekings.py;h=bac325bd80de394044944fd040b7b8a51a67a972;hb=77d2b106ccf81e50cf41a7aa0bb320433a84e110;hp=cf8e90d7dbe9483efffe7894bedbe437746c5da1;hpb=121c09c7be1ac2944f3432122104c1952bfd1f04;p=youtube-dl diff --git a/youtube_dl/extractor/gamekings.py b/youtube_dl/extractor/gamekings.py index cf8e90d7d..bac325bd8 100644 --- a/youtube_dl/extractor/gamekings.py +++ b/youtube_dl/extractor/gamekings.py @@ -31,6 +31,8 @@ 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) return { 'id': video_id,