[Gamekings] Fix order of replacement string

Oops.
This commit is contained in:
robin 2015-02-08 13:49:32 +01:00
parent f23a3ca699
commit 2f38289b79

View file

@ -32,7 +32,7 @@ def _real_extract(self, url):
# 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('large/' + video_id, video_id)
return {
'id': video_id,