|
@@ -57,6 +57,7 @@ from .pornotube import PornotubeIE
|
|
from .rbmaradio import RBMARadioIE
|
|
from .rbmaradio import RBMARadioIE
|
|
from .redtube import RedTubeIE
|
|
from .redtube import RedTubeIE
|
|
from .ringtv import RingTVIE
|
|
from .ringtv import RingTVIE
|
|
|
|
+from .ro220 import Ro220IE
|
|
from .roxwel import RoxwelIE
|
|
from .roxwel import RoxwelIE
|
|
from .rtlnow import RTLnowIE
|
|
from .rtlnow import RTLnowIE
|
|
from .sina import SinaIE
|
|
from .sina import SinaIE
|
|
@@ -116,12 +117,14 @@ _ALL_CLASSES = [
|
|
]
|
|
]
|
|
_ALL_CLASSES.append(GenericIE)
|
|
_ALL_CLASSES.append(GenericIE)
|
|
|
|
|
|
|
|
+
|
|
def gen_extractors():
|
|
def gen_extractors():
|
|
""" Return a list of an instance of every supported extractor.
|
|
""" Return a list of an instance of every supported extractor.
|
|
The order does matter; the first extractor matched is the one handling the URL.
|
|
The order does matter; the first extractor matched is the one handling the URL.
|
|
"""
|
|
"""
|
|
return [klass() for klass in _ALL_CLASSES]
|
|
return [klass() for klass in _ALL_CLASSES]
|
|
|
|
|
|
|
|
+
|
|
def get_info_extractor(ie_name):
|
|
def get_info_extractor(ie_name):
|
|
"""Returns the info extractor class with the given ie_name"""
|
|
"""Returns the info extractor class with the given ie_name"""
|
|
return globals()[ie_name+'IE']
|
|
return globals()[ie_name+'IE']
|