fixed styling issues that flake8 didn't like
This commit is contained in:
parent
0ede245462
commit
9fcc22c0f2
@ -638,7 +638,7 @@ class YoutubeDL(object):
|
|||||||
|
|
||||||
# ignore non-familiar links
|
# ignore non-familiar links
|
||||||
if c != 'GenericIE' and c != 'MovieStormIE' and ie.suitable(farmed_url):
|
if c != 'GenericIE' and c != 'MovieStormIE' and ie.suitable(farmed_url):
|
||||||
familiar_farmed_urls.append( [ie, farmed_url] )
|
familiar_farmed_urls.append([ie, farmed_url])
|
||||||
|
|
||||||
for tuple in familiar_farmed_urls:
|
for tuple in familiar_farmed_urls:
|
||||||
ie = tuple[0]
|
ie = tuple[0]
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
import re
|
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
@ -12,6 +11,7 @@ from ..compat import (
|
|||||||
compat_urlparse
|
compat_urlparse
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class MovieStormHTMLParser(compat_html_parser.HTMLParser):
|
class MovieStormHTMLParser(compat_html_parser.HTMLParser):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.found_button = False
|
self.found_button = False
|
||||||
@ -46,6 +46,7 @@ class MovieStormHTMLParser(compat_html_parser.HTMLParser):
|
|||||||
p.close()
|
p.close()
|
||||||
return getattr(p, return_variable)
|
return getattr(p, return_variable)
|
||||||
|
|
||||||
|
|
||||||
class MovieStormIE(InfoExtractor):
|
class MovieStormIE(InfoExtractor):
|
||||||
"""EXTRACTOR INFO:
|
"""EXTRACTOR INFO:
|
||||||
There are no tests for this IE because the links on any given moviestorm
|
There are no tests for this IE because the links on any given moviestorm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user