Use Python 2.6-compatible format syntax
This commit is contained in:
parent
2107c2b0aa
commit
53ebfd701f
@ -41,5 +41,5 @@ class SpikeIE(MTVServicesInfoExtractor):
|
|||||||
if mgid is None:
|
if mgid is None:
|
||||||
url_parts = self._search_regex(self._CUSTOM_URL_REGEX, webpage, 'episode_id')
|
url_parts = self._search_regex(self._CUSTOM_URL_REGEX, webpage, 'episode_id')
|
||||||
video_type, episode_id = url_parts.split('/', 1)
|
video_type, episode_id = url_parts.split('/', 1)
|
||||||
mgid = 'mgid:arc:{}:spike.com:{}'.format(video_type, episode_id)
|
mgid = 'mgid:arc:{0}:spike.com:{1}'.format(video_type, episode_id)
|
||||||
return mgid
|
return mgid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user