When trying to download some GameKings videos, not all worked. This was
because not all videos had a "/large"-URL available. The extractor
checks now if the /large URL is available, if it isn't, it tries to get
the normal 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)
return {
'id': video_id,