replaced tabs with spaces

This commit is contained in:
Philip Ardery 2015-03-14 14:58:16 -04:00
parent 0dc602d9e3
commit b0f5c78ffd
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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(