diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 59e8114a4..039bc49fb 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -677,7 +677,7 @@ class YoutubeDL(object): # handle link farm extractors if hasattr(ie, '_LINK_FARM') and ie._LINK_FARM: - ie_result, ie = self.process_farmed_links(ie_result) + ie_result, ie = self.process_farmed_links(ie_result) if ie_result is None: # Finished already (backwards compatibility; listformats and friends should be moved here) break diff --git a/youtube_dl/extractor/moviestorm.py b/youtube_dl/extractor/moviestorm.py index 5fceca6b1..5486fa10d 100644 --- a/youtube_dl/extractor/moviestorm.py +++ b/youtube_dl/extractor/moviestorm.py @@ -30,7 +30,7 @@ class MovieStormHTMLParser(compat_html_parser.HTMLParser): if 'moviestorm' in attrs['href']: self.watch_urls.append(attrs['href'].strip()) elif tag == 'a' and 'class' in attrs and attrs['class'] == 'real_link': - self.direct_url = attrs['href'].strip() + self.direct_url = attrs['href'].strip() def handle_endtag(self, tag): if tag == 'td': @@ -80,11 +80,11 @@ class MovieStormIE(InfoExtractor): # retry loop to capture moviestorm page while True: if self.retry_count == 0: - note = 'Downloading link farm page' - else: - note = ('Unstable db connection, retying again in %s seconds ' - '[%s/%s]' % (self.retry_wait, self.retry_count, - self.max_retries)) + note = 'Downloading link farm page' + else: + note = ('Unstable db connection, retying again in %s seconds ' + '[%s/%s]' % (self.retry_wait, self.retry_count, + self.max_retries)) (_, _, token) = self._parse_target(url) farmpage = self._download_webpage(