youtube-dl/youtube_dl/extractor
Philipp Hagemeister 8c25f81bee [util] Move compatibility functions out of util
utils is large enough without these compatibility functions.

Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py .
Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
2014-11-02 11:23:42 +01:00
..
__init__.py [canalplus] Improve and merge with d8 extractor 2014-10-31 21:54:30 +07:00
abc.py [common] Add new helper function _match_id 2014-09-28 09:31:58 +02:00
academicearth.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
addanime.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
adultswim.py [adultswim] Avoid extremely long lines 2014-09-13 09:13:20 +02:00
aftonbladet.py
allocine.py
anitube.py
anysex.py [anysex] Fix extraction 2014-09-27 22:29:27 +07:00
aol.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
aparat.py [aparat] modernize 2014-08-22 01:44:52 +02:00
appletrailers.py [appletrailers] Support height-less videos 2014-08-10 13:04:45 +02:00
archiveorg.py
ard.py [ard] make rss match more universal 2014-10-22 14:24:53 +02:00
arte.py [arte.tv] Remove unused import 2014-10-21 21:06:24 +07:00
audiomack.py Remove unused imports 2014-10-26 23:13:42 +01:00
auengine.py [auengine] Simplify 2014-10-28 15:51:15 +01:00
bambuser.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
bandcamp.py [bandcamp] Fix id extraction and modernize (Closes #3866) 2014-10-02 20:22:46 +07:00
bbccouk.py
beeg.py [beeg] Extract all formats 2014-09-02 20:54:00 +07:00
behindkink.py [behindkink] Remove call to report_extraction 2014-09-15 23:37:22 +02:00
bild.py [bild] Simplify (#3983) 2014-10-24 15:10:32 +02:00
bilibili.py
blinkx.py
bliptv.py [bliptv] Remove superfluous characters in _VALID_URL regex 2014-08-25 17:16:11 +02:00
bloomberg.py
br.py Remove unused imports 2014-10-26 23:13:42 +01:00
breakcom.py [breakcom] Extract all formats 2014-10-03 19:37:47 +07:00
brightcove.py [brightcove] Add a test for playlists 2014-10-13 16:26:53 +02:00
byutv.py
c56.py
canal13cl.py
canalc2.py
canalplus.py [canalplus] Improve and merge with d8 extractor 2014-10-31 21:54:30 +07:00
cbs.py [cbs] Update test video id 2014-08-27 18:41:24 +07:00
cbsnews.py
ceskatelevize.py
channel9.py
chilloutzone.py [chilloutzone] Make test case more flexible 2014-09-13 09:04:03 +02:00
cinemassacre.py [cinemassacre] Fix extraction (Closes #4083) 2014-11-02 08:01:14 +07:00
clipfish.py
cliphunter.py Remove unused imports 2014-10-26 23:13:42 +01:00
clipsyndicate.py
cloudy.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
clubic.py
cmt.py
cnet.py
cnn.py [cnn] Fix for urls ending in '.cnn-ap' (fixes #3985) 2014-10-19 15:14:37 +02:00
collegehumor.py
comedycentral.py [comedycentral] Prefer RTMP for now 2014-09-01 18:37:21 +02:00
common.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
condenast.py [condenast] Add support for embedded videos (Closes #3929) 2014-10-13 19:59:35 +07:00
cracked.py
criterion.py
crunchyroll.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
cspan.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
dailymotion.py [dailymotion] Alternative title search (Fixes #3882) 2014-10-05 21:59:53 +02:00
daum.py [daum] Support non-numeric video IDs (Fixes #3749) 2014-09-15 15:25:35 +02:00
dbtv.py [dbtv] Simplify, modernize, extract all formats 2014-09-05 19:53:53 +07:00
deezer.py [deezer] Add support for geoblocking 2014-09-13 08:51:21 +02:00
defense.py
dfb.py [dfb] Fix f4m manifest URL 2014-08-17 02:07:04 +07:00
discovery.py
divxstage.py [divxstage] added .to TLD 2014-09-20 02:32:41 +02:00
dotsub.py
dreisat.py
dropbox.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
drtuber.py [drtuber] Fix categories 2014-09-18 20:56:54 +07:00
drtv.py [drtv] Allow fractional timestamps (Fixes #4059) 2014-10-29 20:10:00 +01:00
dump.py [dump] Modernize (#3565) 2014-08-22 01:43:19 +02:00
ebaumsworld.py [ebaumsworld] Remove spurious determine_ext 2014-08-24 03:37:19 +02:00
ehow.py
eighttracks.py [eighttracks] modernize 2014-08-26 11:31:23 +02:00
einthusan.py [einthusan] Add description and beautify 2014-09-15 23:33:47 +02:00
eitb.py [eitb] Modernize 2014-09-28 08:49:03 +02:00
ellentv.py [ellentv] Simplify and correct tests 2014-08-21 11:57:03 +02:00
elpais.py
empflix.py [empflix] Rewrite in terms of tnaflix 2014-09-03 21:08:36 +07:00
engadget.py
eporner.py [eporner] Adapt to changed default format 2014-09-29 06:19:18 +02:00
escapist.py [escapist] Add support for og:video:url (Fixes #3557) 2014-08-21 13:05:24 +02:00
everyonesmixtape.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
exfm.py [exfm] Modernize 2014-02-10 21:00:37 +01:00
expotv.py [expotv] Add new extractor (Fixes #3552) 2014-08-24 06:41:55 +02:00
extremetube.py [extremetube] Fix extraction 2014-09-27 22:36:53 +07:00
facebook.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
faz.py Remove unused imports 2014-10-26 23:13:42 +01:00
fc2.py
firedrive.py
firstpost.py
firsttv.py
fivemin.py
fktv.py [fktv] Remove unused import 2014-10-28 10:44:17 +01:00
flickr.py [flickr] Modernize 2014-09-24 10:46:33 +02:00
fourtube.py
franceculture.py
franceinter.py [franceinter] Fix extraction and modernize 2014-09-19 20:58:50 +07:00
francetv.py [francetv] Remove changing md5sum 2014-10-27 00:46:34 +01:00
freesound.py
freespeech.py
funnyordie.py [funnyordie] Add articles URL test 2014-10-31 19:26:56 +07:00
gamekings.py
gameone.py [gameone:playlist] Move test to extractor 2014-08-24 07:05:49 +02:00
gamespot.py
gamestar.py
gametrailers.py
gdcvault.py
generic.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
glide.py [glide] Simplify 2014-10-24 15:34:19 +02:00
globo.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
godtube.py [godtube] Fix on Python 2.6 2014-09-29 05:51:41 +02:00
golem.py [golem] Fix under 2.6 2014-09-29 05:48:56 +02:00
googleplus.py [googleplus] Modernize and extract all formats 2014-10-12 01:44:13 +07:00
googlesearch.py [googlesearch] Move test to extractor 2014-08-25 17:02:52 +02:00
gorillavid.py [gorillavid] Fix test title 2014-10-27 00:44:27 +01:00
goshgay.py
grooveshark.py [grooveshark] Use proper imports 2014-08-24 02:06:59 +02:00
hark.py [hark] Modernize 2014-10-24 22:31:55 +02:00
heise.py [heise] Fix extraction 2014-10-27 01:33:51 +01:00
helsinki.py
hentaistigma.py
hornbunny.py [hornbunny] Simplify and add age_limit 2014-09-01 23:04:36 +02:00
hostingbulk.py [hostingbulk] Simplify 2014-09-10 19:13:22 +07:00
hotnewhiphop.py
howcast.py
howstuffworks.py Replace 404 url 2014-10-11 15:59:42 +05:30
huffpost.py [huffpost] Modernize 2014-10-13 10:08:59 +02:00
hypem.py
iconosquare.py [iconosquare] Simplify 2014-10-28 09:12:28 +01:00
ign.py [ign] Return proper playlist object 2014-09-29 05:05:06 +02:00
imdb.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
ina.py
infoq.py
instagram.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
internetvideoarchive.py [internetvideoarchive] Fix test case 2014-09-29 12:24:48 +02:00
iprima.py
ivi.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
izlesene.py [izlesene] Prepend scheme to thumbnails 2014-10-01 21:11:38 +03:00
jadorecettepub.py
jeuxvideo.py
jove.py [jove] Simplify, extract full description and add test for video that requires subscription 2014-08-19 20:02:08 +07:00
jpopsukitv.py [jpopsuki] More modernize 2014-10-02 19:58:28 +07:00
jukebox.py [jukebox] Remove md5 sum, it fluctuates 2014-09-29 12:15:49 +02:00
kankan.py
keek.py
keezmovies.py
khanacademy.py [khanacademy] Improve _VALID_URL (Closes #3695) 2014-09-09 22:09:32 +07:00
kickstarter.py [kickstarter] Simplify and fix test case 2014-10-27 01:16:18 +01:00
kontrtube.py [kontrtube] Fix video title extraction 2014-10-13 10:03:55 +05:30
krasview.py
ku6.py [ku6] Modernize 2014-10-27 02:32:44 +01:00
la7.py
laola1tv.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
lifenews.py
liveleak.py
livestream.py [livestream:original] Fix RTMP parameters (Fixes #4040) 2014-10-26 21:44:29 +01:00
lrt.py [lrt] Modernize 2014-10-27 02:27:49 +01:00
lynda.py
m6.py
macgamestore.py
mailru.py
malemotion.py
mdr.py
metacafe.py [metacafe] Add support for movieclips videos (Fixes #3555) 2014-08-22 01:36:07 +02:00
metacritic.py
mgoon.py [mgoon] Add new extractor 2014-09-21 03:26:12 +03:00
ministrygrid.py [ministrygrid] Add extractor (Fixes #2900) 2014-08-24 04:47:28 +02:00
mit.py
mitele.py [mitele] Fix on python 2.x 2014-10-23 21:26:48 +02:00
mixcloud.py [mixcloud] Output downloading progress 2014-10-15 00:53:54 +02:00
mlb.py [mlb] Improve _VALID_URL (Closes #4063) 2014-11-01 04:01:18 +07:00
moevideo.py [moevideo] Make filesize exact 2014-09-09 21:48:10 +07:00
mofosex.py [mfs] Modernize 2014-08-27 01:04:32 +02:00
mojvideo.py
moniker.py [moniker] rename from hypestat (#3788) 2014-09-18 21:37:09 +02:00
mooshare.py
morningstar.py
motherless.py [motherless] Simplify 2014-10-24 19:53:48 +02:00
motorsport.py
movieclips.py [movieclips] Add extractor (Closes #3554) 2014-08-23 17:44:56 +07:00
moviezine.py
movshare.py
mpora.py
mtv.py
muenchentv.py [muenchentv] Add thumbnail 2014-09-28 10:49:58 +02:00
musicplayon.py
musicvault.py fix up imports 2014-08-28 01:00:59 +02:00
muzu.py
myspace.py
myspass.py
myvideo.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
naver.py [naver] Capture and output error message (#4057) 2014-10-29 21:50:37 +07:00
nba.py [nba] Modernize 2014-09-04 20:06:14 +07:00
nbc.py [nbc] Fix ThePlatform embedded videos 2014-10-27 01:14:17 +01:00
ndr.py Description changed 2014-10-12 20:09:12 +05:30
ndtv.py
newgrounds.py
newstube.py
nfb.py
nfl.py [nfl] Use compatible urlparse 2014-09-30 20:01:37 +03:00
nhl.py Remove unused imports 2014-10-26 23:13:42 +01:00
niconico.py [niconico] Add extractor for playlists (closes #4043) 2014-10-29 11:04:48 +01:00
ninegag.py
noco.py [noco] Encode before passing to hashlib.md5 (Closes #3816) 2014-09-23 19:13:11 +07:00
normalboots.py
nosvideo.py [nosvideo] Make more robust against missing metadata 2014-09-15 16:59:03 +03:00
novamov.py
nowness.py
nowvideo.py
npo.py [npo] Add extractor for tegenlicht.vpro.nl (closes #3778) 2014-09-21 16:53:00 +02:00
nrk.py
ntv.py
nuvid.py [nuvid] Adapt to latest layout changes 2014-08-22 21:41:51 +07:00
nytimes.py
oktoberfesttv.py [oktoberfesttv] Add new extractor (Fixes #3845) 2014-09-28 09:49:21 +02:00
ooyala.py [ooyala] Try mobile player JS URLs for all available devices (Closes #3498) 2014-08-12 20:54:08 +07:00
orf.py [orf] Move all ORF extractors in one place 2014-08-10 01:21:16 +07:00
parliamentliveuk.py
patreon.py [patreon] Remove unused import 2014-08-23 15:04:11 +02:00
pbs.py [pbs] Add support for tabbed frontline videos (Closes #4006) 2014-10-23 20:41:45 +07:00
phoenix.py [phoenix] Add new extractor (Fixes #4036) 2014-10-27 02:43:59 +01:00
photobucket.py
planetaplay.py [planetaplay] Add new extractor (closes #3839) 2014-10-03 19:43:36 +03:00
played.py [played] Remove unused import 2014-09-28 10:56:36 +02:00
playfm.py [playfm] Fix view count and add comment count 2014-09-22 18:58:22 +07:00
playvid.py
podomatic.py
pornhd.py [pornhd] Fix formats extraction (Closes #3898) 2014-10-08 20:08:29 +07:00
pornhub.py [pornhub] Modernize and fix test definition 2014-10-27 00:33:35 +01:00
pornotube.py [pornotube] Modernize 2014-08-24 06:16:24 +02:00
pornoxo.py [pornoxo] Fix test (view count) 2014-09-13 07:09:39 +02:00
promptfile.py [promptfile] Fix check for deleted videos 2014-10-27 00:50:22 +01:00
prosiebensat1.py [prosiebensat1] Fix test case 2014-09-29 12:18:49 +02:00
pyvideo.py
quickvid.py [quickvid] Add new extractor 2014-10-28 10:41:37 +01:00
radiofrance.py
rai.py
rbmaradio.py
redtube.py
reverbnation.py [reverbnation] The 'uploader_id' field must be a string 2014-08-10 11:00:14 +02:00
ringtv.py
ro220.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
rottentomatoes.py
roxwel.py
rtbf.py
rtlnl.py [rtlnl] Add support for progressive videos (Closes #3603) 2014-08-28 22:54:06 +07:00
rtlnow.py [pornhub] Modernize and fix test definition 2014-10-27 00:33:35 +01:00
rts.py
rtve.py [rtve.es:live] Start supporting the 24h channel 2014-08-22 18:47:49 +02:00
ruhd.py [ruhd] Simplify 2014-10-27 00:20:54 +01:00
rutube.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
rutv.py [rutv] Fix rutv player regex 2014-09-10 01:09:04 +07:00
sapo.py
savefrom.py
sbs.py [sbs] Recognize urls with format 'http://www.sbs.com.au/ondemand/video/<id>' (#3811) 2014-09-22 14:11:08 +02:00
scivee.py
screencast.py
servingsys.py
sexykarma.py [sexykarma] Add support for watchindianporn 2014-10-19 01:53:15 +07:00
shared.py [shared] Update test 2014-08-13 18:24:46 +07:00
sharesix.py [sharesix] Add new extractor 2014-09-06 18:59:15 +03:00
sina.py
slideshare.py
slutload.py
smotri.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
snotr.py [snotr] Add description 2014-07-21 12:08:44 +02:00
sockshare.py [sockshare] Fix title extraction (Fixes #3592) 2014-08-26 21:30:30 +02:00
sohu.py
soundcloud.py [soundcloud] Set the 'webpage_url' field for each track 2014-10-26 19:08:36 +01:00
soundgasm.py
southpark.py
space.py
spankwire.py [spankwire] Fix extraction 2014-10-01 20:53:58 +07:00
spiegel.py [spiegel] Remove deleted video from test cases 2014-09-13 07:46:19 +02:00
spiegeltv.py
spike.py
sport5.py [sport5] Capture error message and improve 2014-09-28 02:31:14 +07:00
sportbox.py Remove unused imports 2014-10-26 23:13:42 +01:00
sportdeutschland.py [sportdeutschland] Fix testcase 2014-09-29 05:17:16 +02:00
srmediathek.py [srmediathek] Choose variable name more wisely 2014-10-28 10:44:47 +01:00
stanfordoc.py
steam.py
streamcloud.py
streamcz.py
subtitles.py
sunporno.py [sunporno] Fix duration extraction and make more robust 2014-10-01 20:44:43 +07:00
swrmediathek.py [swrmediathek] Remove deleted video test case 2014-09-13 07:41:35 +02:00
syfy.py [syfy] Remove test checksum 2014-10-27 00:19:15 +01:00
sztvhu.py
tagesschau.py
tapely.py [tapely] Catch SoundCloud tracks 2014-10-01 21:53:45 +03:00
teachertube.py Move playlist tests to extractors. 2014-08-28 00:58:24 +02:00
teachingchannel.py
teamcoco.py [teamcoco] Update video id regex 2014-08-20 20:30:29 +07:00
techtalks.py [techtalks] Modernize 2014-09-04 19:48:29 +07:00
ted.py [ted] Add support for external videos (fixes #3948) 2014-10-15 12:24:11 +02:00
telecinco.py [telecino] Add coding declaration 2014-10-23 20:21:27 +02:00
telemb.py [telemb] Add comment to test 2014-09-12 23:22:07 +07:00
tenplay.py
testurl.py
tf1.py
theonion.py [theonion] Fix a small mistake in string formatting 2014-10-12 15:47:31 +03:00
theplatform.py [nbc] Fix ThePlatform embedded videos 2014-10-27 01:14:17 +01:00
thesixtyone.py [thesixtyone] Add new extractor (closes #3781) 2014-10-04 22:40:36 +03:00
thisav.py
thvideo.py [thvideo] Simplify (#3848) 2014-09-29 00:38:37 +02:00
tinypic.py
tlc.py
tnaflix.py [tnaflix] Improve and make generic 2014-09-03 21:07:18 +07:00
toutv.py
toypics.py [toypics:user] Update test playlist count 2014-09-04 19:37:40 +07:00
traileraddict.py
trilulilu.py
trutube.py [trutube] Fix extraction 2014-10-29 21:16:10 +07:00
tube8.py [tube8] Improve _VALID_URL and add display_id 2014-09-21 06:37:11 +07:00
tudou.py [tudou] Add test case for #3643 2014-09-01 00:20:12 +02:00
tumblr.py [tumblr] Fix extraction (fixes #4029) 2014-10-25 22:42:56 +02:00
turbo.py [turbo] Add new extractor 2014-09-15 16:08:20 +03:00
tutv.py
tvigle.py [tvigle] Extract format file sizes 2014-09-30 20:00:21 +07:00
tvp.py
tvplay.py [tvplay] Support similar services in different countries 2014-09-11 00:10:18 +03:00
twitch.py [twitch] Remove superfluous comma 2014-10-18 21:57:24 +07:00
ubu.py [ubu] Add extractor (Close #3418) 2014-08-02 17:56:01 +07:00
udemy.py
unistra.py [unistra] Modernize 2014-09-06 15:21:27 +07:00
urort.py
ustream.py [ustream:channel] Change test playlist size (Seems to have been limited that way on the website as well) 2014-10-27 00:18:10 +01:00
vbox7.py [vbox7] Don't set the extension to 'flv' (fixes #3836) 2014-09-27 10:53:02 +02:00
veehd.py [veehd] Modernize 2014-08-28 01:37:57 +02:00
veoh.py
vesti.py
vevo.py Remove unused imports 2014-09-28 10:50:43 +02:00
vgtv.py [vgtv] Fix test title 2014-10-27 00:16:01 +01:00
vh1.py
viddler.py [viddler] Use API 2014-10-25 00:11:12 +02:00
videobam.py
videodetective.py
videofyme.py
videolecturesnet.py
videomega.py [videomega] Simplify (#3786) 2014-09-18 00:19:08 +02:00
videopremium.py
videott.py
videoweed.py
vidme.py
vidzi.py [vidzi] Use proper test case and simplify (#3989) 2014-10-24 15:27:02 +02:00
viki.py
vimeo.py [util] Move compatibility functions out of util 2014-11-02 11:23:42 +01:00
vimple.py
vine.py [vine:user] Adapt test to changed list size 2014-10-27 00:11:34 +01:00
vk.py [vk] Generalize errors 2014-10-28 21:35:25 +07:00
vodlocker.py [vodlocker] Allow title to end with a <br> 2014-08-23 14:39:47 +02:00
vporn.py [vporn] Make video URL regex more strict 2014-09-15 19:19:37 +07:00
vrt.py [vrt] Improve extractor 2014-10-26 16:48:11 +07:00
vube.py [vube] Update tests 2014-09-25 20:57:18 +07:00
vuclip.py [vuclip] Fix regexp 2014-09-29 21:48:44 +02:00
vulture.py
walla.py [walla] Fix extractor and add subtitle tests 2014-10-07 22:23:05 +07:00
washingtonpost.py [washingtonpost] Add playlist title to test 2014-09-04 19:34:40 +07:00
wat.py [wat] Skip test 2014-09-25 20:33:11 +07:00
wayofthemaster.py [wayofthemaster] Remove unused import 2014-08-24 04:18:09 +02:00
wdr.py
weibo.py
wimp.py [wimp] Update video URL regex 2014-10-28 20:35:02 +07:00
wistia.py [wistia] Use API and make more generic 2014-09-20 03:02:11 +03:00
worldstarhiphop.py [worldstarhiphop] Correct title extraction 2014-09-29 05:02:58 +02:00
wrzuta.py
xbef.py
xboxclips.py [xboxclips] PEP8 and extract more metadata 2014-08-08 19:21:24 +07:00
xhamster.py [xhamster] Remove md5sums from tests 2014-09-13 07:47:08 +02:00
xnxx.py
xtube.py [xtube] Fix test description 2014-10-27 00:08:37 +01:00
xvideos.py
yahoo.py [yahoo] Generalize, support arbitrary subdomains, support iframe videos, capture error message (Closes #2470) 2014-10-10 22:11:30 +07:00
ynet.py [ynet] Remove test md5sums 2014-10-27 00:06:00 +01:00
youjizz.py [youjizz] Don't make the url protocol optional (fixes #3722) 2014-09-11 21:44:02 +02:00
youku.py Remove unused imports 2014-09-28 10:50:43 +02:00
youporn.py [youporn] Remove md5 from test 2014-09-13 07:59:36 +02:00
yourupload.py [yourupload] Add new extractor. Fixes #3085 2014-09-21 15:13:35 +03:00
youtube.py [youtube] Detect formats 298 et al as mp4 (Fixes #4066) 2014-10-31 11:13:02 +01:00
zdf.py [phoenix] Add new extractor (Fixes #4036) 2014-10-27 02:43:59 +01:00