coding conventions
This commit is contained in:
parent
319b057bb0
commit
1c361146ba
@ -96,9 +96,9 @@ class XVideosIE(InfoExtractor):
|
|||||||
'https://www.' + host + '.com/video%s/' % video_id, video_id,
|
'https://www.' + host + '.com/video%s/' % video_id, video_id,
|
||||||
note=False, fatal=host == self.HOSTS[-1], errnote=host == self.HOSTS[-1])
|
note=False, fatal=host == self.HOSTS[-1], errnote=host == self.HOSTS[-1])
|
||||||
if webpage:
|
if webpage:
|
||||||
temp_host=self.HOSTS[0]
|
temp_host = self.HOSTS[0]
|
||||||
self.HOSTS[0]=host
|
self.HOSTS[0] = host
|
||||||
self.HOSTS[i]=temp_host
|
self.HOSTS[i] = temp_host
|
||||||
break
|
break
|
||||||
|
|
||||||
mobj = re.search(r'<h1 class="inlineError">(.+?)</h1>', webpage)
|
mobj = re.search(r'<h1 class="inlineError">(.+?)</h1>', webpage)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user