From 1c361146ba5d189006ac9c902a856cd552662dbb Mon Sep 17 00:00:00 2001 From: rag-hav Date: Mon, 4 May 2020 22:09:01 +0530 Subject: [PATCH] coding conventions --- youtube_dl/extractor/xvideos.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py index d320a1a50..54751d61a 100644 --- a/youtube_dl/extractor/xvideos.py +++ b/youtube_dl/extractor/xvideos.py @@ -96,9 +96,9 @@ class XVideosIE(InfoExtractor): 'https://www.' + host + '.com/video%s/' % video_id, video_id, note=False, fatal=host == self.HOSTS[-1], errnote=host == self.HOSTS[-1]) if webpage: - temp_host=self.HOSTS[0] - self.HOSTS[0]=host - self.HOSTS[i]=temp_host + temp_host = self.HOSTS[0] + self.HOSTS[0] = host + self.HOSTS[i] = temp_host break mobj = re.search(r'

(.+?)

', webpage)