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