Add an extractor for NBC news (closes #1320)
[youtube-dl] / youtube_dl / extractor / __init__.py
1 from .archiveorg import ArchiveOrgIE
2 from .ard import ARDIE
3 from .arte import ArteTvIE
4 from .auengine import AUEngineIE
5 from .bandcamp import BandcampIE
6 from .bliptv import BlipTVIE, BlipTVUserIE
7 from .breakcom import BreakIE
8 from .brightcove import BrightcoveIE
9 from .c56 import C56IE
10 from .canalplus import CanalplusIE
11 from .canalc2 import Canalc2IE
12 from .cnn import CNNIE
13 from .collegehumor import CollegeHumorIE
14 from .comedycentral import ComedyCentralIE
15 from .condenast import CondeNastIE
16 from .criterion import CriterionIE
17 from .cspan import CSpanIE
18 from .dailymotion import DailymotionIE, DailymotionPlaylistIE
19 from .depositfiles import DepositFilesIE
20 from .dotsub import DotsubIE
21 from .dreisat import DreiSatIE
22 from .ehow import EHowIE
23 from .eighttracks import EightTracksIE
24 from .escapist import EscapistIE
25 from .exfm import ExfmIE
26 from .facebook import FacebookIE
27 from .flickr import FlickrIE
28 from .freesound import FreesoundIE
29 from .funnyordie import FunnyOrDieIE
30 from .gamespot import GameSpotIE
31 from .gametrailers import GametrailersIE
32 from .generic import GenericIE
33 from .googleplus import GooglePlusIE
34 from .googlesearch import GoogleSearchIE
35 from .hark import HarkIE
36 from .hotnewhiphop import HotNewHipHopIE
37 from .howcast import HowcastIE
38 from .hypem import HypemIE
39 from .ign import IGNIE, OneUPIE
40 from .ina import InaIE
41 from .infoq import InfoQIE
42 from .instagram import InstagramIE
43 from .jeuxvideo import JeuxVideoIE
44 from .jukebox import JukeboxIE
45 from .justintv import JustinTVIE
46 from .kankan import KankanIE
47 from .keek import KeekIE
48 from .liveleak import LiveLeakIE
49 from .livestream import LivestreamIE
50 from .metacafe import MetacafeIE
51 from .mixcloud import MixcloudIE
52 from .mtv import MTVIE
53 from .muzu import MuzuTVIE
54 from .myspass import MySpassIE
55 from .myvideo import MyVideoIE
56 from .nba import NBAIE
57 from .nbc import NBCNewsIE
58 from .ooyala import OoyalaIE
59 from .pbs import PBSIE
60 from .photobucket import PhotobucketIE
61 from .pornotube import PornotubeIE
62 from .rbmaradio import RBMARadioIE
63 from .redtube import RedTubeIE
64 from .ringtv import RingTVIE
65 from .ro220 import Ro220IE
66 from .roxwel import RoxwelIE
67 from .rtlnow import RTLnowIE
68 from .sina import SinaIE
69 from .slashdot import SlashdotIE
70 from .soundcloud import SoundcloudIE, SoundcloudSetIE
71 from .spiegel import SpiegelIE
72 from .stanfordoc import StanfordOpenClassroomIE
73 from .statigram import StatigramIE
74 from .steam import SteamIE
75 from .teamcoco import TeamcocoIE
76 from .ted import TEDIE
77 from .tf1 import TF1IE
78 from .thisav import ThisAVIE
79 from .traileraddict import TrailerAddictIE
80 from .trilulilu import TriluliluIE
81 from .tudou import TudouIE
82 from .tumblr import TumblrIE
83 from .tutv import TutvIE
84 from .unistra import UnistraIE
85 from .ustream import UstreamIE
86 from .vbox7 import Vbox7IE
87 from .veoh import VeohIE
88 from .vevo import VevoIE
89 from .videofyme import VideofyMeIE
90 from .vimeo import VimeoIE, VimeoChannelIE
91 from .vine import VineIE
92 from .wat import WatIE
93 from .weibo import WeiboIE
94 from .wimp import WimpIE
95 from .worldstarhiphop import WorldStarHipHopIE
96 from .xhamster import XHamsterIE
97 from .xnxx import XNXXIE
98 from .xvideos import XVideosIE
99 from .yahoo import YahooIE, YahooSearchIE
100 from .youjizz import YouJizzIE
101 from .youku import YoukuIE
102 from .youporn import YouPornIE
103 from .youtube import (
104     YoutubeIE,
105     YoutubePlaylistIE,
106     YoutubeSearchIE,
107     YoutubeUserIE,
108     YoutubeChannelIE,
109     YoutubeShowIE,
110     YoutubeSubscriptionsIE,
111     YoutubeRecommendedIE,
112     YoutubeWatchLaterIE,
113     YoutubeFavouritesIE,
114 )
115 from .zdf import ZDFIE
116
117
118 _ALL_CLASSES = [
119     klass
120     for name, klass in globals().items()
121     if name.endswith('IE') and name != 'GenericIE'
122 ]
123 _ALL_CLASSES.append(GenericIE)
124
125
126 def gen_extractors():
127     """ Return a list of an instance of every supported extractor.
128     The order does matter; the first extractor matched is the one handling the URL.
129     """
130     return [klass() for klass in _ALL_CLASSES]
131
132
133 def get_info_extractor(ie_name):
134     """Returns the info extractor class with the given ie_name"""
135     return globals()[ie_name+'IE']