replaced tabs with spaces
This commit is contained in:
parent
0dc602d9e3
commit
b0f5c78ffd
@ -677,7 +677,7 @@ class YoutubeDL(object):
|
|||||||
|
|
||||||
# handle link farm extractors
|
# handle link farm extractors
|
||||||
if hasattr(ie, '_LINK_FARM') and ie._LINK_FARM:
|
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)
|
if ie_result is None: # Finished already (backwards compatibility; listformats and friends should be moved here)
|
||||||
break
|
break
|
||||||
|
@ -30,7 +30,7 @@ class MovieStormHTMLParser(compat_html_parser.HTMLParser):
|
|||||||
if 'moviestorm' in attrs['href']:
|
if 'moviestorm' in attrs['href']:
|
||||||
self.watch_urls.append(attrs['href'].strip())
|
self.watch_urls.append(attrs['href'].strip())
|
||||||
elif tag == 'a' and 'class' in attrs and attrs['class'] == 'real_link':
|
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):
|
def handle_endtag(self, tag):
|
||||||
if tag == 'td':
|
if tag == 'td':
|
||||||
@ -80,11 +80,11 @@ class MovieStormIE(InfoExtractor):
|
|||||||
# retry loop to capture moviestorm page
|
# retry loop to capture moviestorm page
|
||||||
while True:
|
while True:
|
||||||
if self.retry_count == 0:
|
if self.retry_count == 0:
|
||||||
note = 'Downloading link farm page'
|
note = 'Downloading link farm page'
|
||||||
else:
|
else:
|
||||||
note = ('Unstable db connection, retying again in %s seconds '
|
note = ('Unstable db connection, retying again in %s seconds '
|
||||||
'[%s/%s]' % (self.retry_wait, self.retry_count,
|
'[%s/%s]' % (self.retry_wait, self.retry_count,
|
||||||
self.max_retries))
|
self.max_retries))
|
||||||
|
|
||||||
(_, _, token) = self._parse_target(url)
|
(_, _, token) = self._parse_target(url)
|
||||||
farmpage = self._download_webpage(
|
farmpage = self._download_webpage(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user