1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-25 01:07:19 +00:00

[Gamekings] Fixed typo in URL replacement

This commit is contained in:
robin 2015-02-08 13:47:27 +01:00
parent 77d2b106cc
commit f23a3ca699

View 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,