youtube-dl/youtube_dl/extractor
Abhishek Kedia dbee18b552 Improve extraction (Closes #7918)
remove outer parentheses in if

Conflicts:
	youtube_dl/extractor/imgur.py

checked code with flake8

not returning list in case of single images.

using the fact that id with length 5 are albums and more are single videos.
Also for single videos ie ImgurIE both urls - http://imgur.com/gallery/oWeAMW2 and http://imgur.com/oWeAMW2 are equally fine. Change regex to allow thuis.
For albums urls - http://imgur.com/gallery/Q95ko and http://imgur.com/Q95ko are ok. Change regex to allow this also.

update description in ImgurIE Tests.
Also move single video test 'https://imgur.com/gallery/YcAQlkx' from ImgurAlbumIE to ImgurIE.
2015-12-22 21:43:49 +06:00
..
__init__.py Merge pull request #7322 from remitamine/vgtv 2015-12-22 16:10:04 +01:00
abc7news.py
abc.py [abc] detect expired state and update tests 2015-12-21 13:07:52 +01:00
academicearth.py
acast.py [acast] change tests into more stable casts and work with channel extractor only if it didn't match cast regex 2015-12-05 10:14:34 +01:00
addanime.py
adobetv.py [adobetv] use compat_str 2015-12-04 08:44:18 +01:00
adultswim.py [adultswim] update test 2015-12-21 17:07:19 +01:00
aftonbladet.py
airmozilla.py
aljazeera.py
allocine.py
alphaporno.py
amp.py [bleacherreport] fix style issues and simplify 2015-12-21 11:12:58 +01:00
anitube.py
anysex.py
aol.py
aparat.py
appleconnect.py
appletrailers.py
archiveorg.py
ard.py
arte.py
atresplayer.py [atresplayer] improve extraction 2015-12-21 16:26:40 +01:00
atttechchannel.py
audimedia.py [audimedia] correct test case id 2015-12-21 23:02:55 +01:00
audiomack.py [audiomack] Fix typo (Closes #7936) 2015-12-21 22:51:58 +06:00
azubu.py
baidu.py
bambuser.py
bandcamp.py
bbc.py [bbc] Add another pattern for playlist.sxml (Closes #7743) 2015-12-06 16:41:12 +06:00
beatportpro.py
beeg.py [beeg] API v5 (Closes #7846) 2015-12-12 02:52:20 +06:00
behindkink.py
bet.py
bild.py
bilibili.py [bilibili] flake8 2015-12-03 22:43:19 +01:00
bleacherreport.py [bleacherreport] update test 2015-12-22 10:14:57 +01:00
blinkx.py
bloomberg.py [bloomberg] Improve formats extraction 2015-11-28 22:45:19 +06:00
bpb.py
br.py [br] add support for br-klassik.de and improve extraction 2015-12-21 21:06:10 +01:00
breakcom.py
brightcove.py [brightcove:new] Add test for ref: prefixed video id 2015-12-18 22:31:48 +06:00
buzzfeed.py
byutv.py [ooyala] fix duration scale 2015-12-04 16:18:02 +01:00
c56.py
camdemy.py
canalc2.py
canalplus.py
cbs.py
cbsnews.py
cbssports.py
ccc.py
ceskatelevize.py
channel9.py
chaturbate.py
chilloutzone.py
chirbit.py
cinchcast.py
cinemassacre.py
clipfish.py [clipfish] improve extraction 2015-12-04 16:38:05 +01:00
cliphunter.py [cliphunter] Fix extraction (Closes #7796) 2015-12-08 21:56:00 +06:00
clipsyndicate.py
cloudy.py
clubic.py
clyp.py
cmt.py
cnet.py [cnet] improve extraction 2015-12-20 12:43:00 +01:00
cnn.py
collegehumor.py
collegerama.py
comcarcoff.py
comedycentral.py
common.py Rename error_to_str to error_to_compat_str 2015-12-20 07:00:39 +06:00
commonmistakes.py
condenast.py
cracked.py
criterion.py
crooksandliars.py
crunchyroll.py
cspan.py [cspan] change into a function 2015-11-28 20:22:31 +01:00
ctsnews.py
dailymotion.py Rename error_to_str to error_to_compat_str 2015-12-20 07:00:39 +06:00
daum.py
dbtv.py [dbtv] Expand _VALID_URL (Closes #7645) 2015-11-28 08:44:13 +06:00
dcn.py
dctp.py
deezer.py
defense.py
democracynow.py
dfb.py
dhm.py
discovery.py
dotsub.py
douyutv.py
dplay.py
dramafever.py Merge branch 'bleacherreport' of github.com:remitamine/youtube-dl into remitamine-bleacherreport 2015-12-21 11:18:32 +01:00
drbonanza.py
dreisat.py
dropbox.py
drtuber.py
drtv.py
dump.py
dumpert.py
dvtv.py
eagleplatform.py
ebaumsworld.py
echomsk.py
ehow.py
eighttracks.py
einthusan.py
eitb.py
ellentv.py
elpais.py
embedly.py
engadget.py
eporner.py
eroprofile.py
escapist.py
espn.py
esri.py
europa.py
everyonesmixtape.py
exfm.py
expotv.py
extremetube.py
facebook.py Rename error_to_str to error_to_compat_str 2015-12-20 07:00:39 +06:00
faz.py [faz] extract duration and bitrate and use xpath_element and xpath_text for extraction 2015-12-20 21:38:30 +01:00
fc2.py [fc2] Fix test_FC2_1 2015-12-05 21:10:26 +08:00
fczenit.py
firstpost.py
firsttv.py
fivemin.py
fivetv.py
fktv.py [fktv] fix info extraction 2015-12-19 18:26:28 +01:00
flickr.py [flickr] fix format sorting 2015-12-21 22:10:16 +01:00
folketinget.py
footyroom.py [footyroom] Skip test 2015-12-13 23:55:10 +06:00
fourtube.py
foxgay.py
foxnews.py [bleacherreport] fix style issues and simplify 2015-12-21 11:12:58 +01:00
foxsports.py
franceculture.py
franceinter.py [franceinter] use _match_id 2015-12-22 11:30:35 +01:00
francetv.py
freesound.py
freespeech.py
freevideo.py
funimation.py [funimation] Improve login 2015-12-13 07:17:42 +06:00
funnyordie.py
gameinformer.py [gameinformer] split long line 2015-12-04 08:24:04 +01:00
gamekings.py
gameone.py
gamersyde.py
gamespot.py
gamestar.py
gametrailers.py [gametrailers] Fix extraction (fixes #7722) 2015-12-03 13:47:21 +01:00
gazeta.py
gdcvault.py
generic.py Merge branch 'bliptv' of github.com:remitamine/youtube-dl into remitamine-bliptv 2015-12-21 04:31:17 +01:00
gfycat.py
giantbomb.py
giga.py
glide.py
globo.py
godtube.py
goldenmoustache.py
golem.py
googledrive.py [googledrive] Modernize 2015-12-21 03:05:34 +01:00
googleplus.py
googlesearch.py
goshgay.py
gputechconf.py [gputechconf] improve extraction 2015-12-19 23:59:00 +01:00
groupon.py [ooyala] fix duration scale 2015-12-04 16:18:02 +01:00
hark.py
hearthisat.py
heise.py
hellporno.py
helsinki.py
hentaistigma.py
historicfilms.py
history.py
hitbox.py
hornbunny.py
hotnewhiphop.py
howcast.py [ooyala] fix duration scale 2015-12-04 16:18:02 +01:00
howstuffworks.py
huffpost.py
hypem.py [hypem] Modernize 2015-12-05 20:46:57 +06:00
iconosquare.py
ign.py
imdb.py
imgur.py Improve extraction (Closes #7918) 2015-12-22 21:43:49 +06:00
ina.py
indavideo.py
infoq.py [infoq] Refactor and support the Chinese version 2015-12-13 19:16:58 +08:00
instagram.py
internetvideoarchive.py
iprima.py
iqiyi.py [iqiyi] Update key (closes #7896) 2015-12-18 18:20:41 +08:00
ir90tv.py
ivi.py
izlesene.py
jadorecettepub.py
jeuxvideo.py
jove.py
jpopsukitv.py
jukebox.py
jwplatform.py [makertv] improve extraction 2015-12-21 04:24:58 +01:00
kaltura.py
kanalplay.py
kankan.py
karaoketv.py
karrierevideos.py
keek.py
keezmovies.py [keezmovies] Fix extraction 2015-12-05 17:26:13 +08:00
khanacademy.py
kickstarter.py
kontrtube.py
krasview.py
ku6.py
kuwo.py
la7.py
laola1tv.py
lecture2go.py
letv.py
libsyn.py
lifenews.py
limelight.py
liveleak.py
livestream.py
lnkgo.py
lrt.py
lynda.py
m6.py
macgamestore.py
mailru.py
makertv.py [makertv] improve extraction 2015-12-21 04:24:58 +01:00
malemotion.py
mdr.py
metacafe.py [metacafe] Fix age limit extraction 2015-12-05 16:12:50 +01:00
metacritic.py
mgoon.py
minhateca.py
ministrygrid.py
miomio.py
mit.py
mitele.py
mixcloud.py [mixcloud] Fix extraction of the audio url (fixes #7751) 2015-12-04 14:26:34 +01:00
mlb.py
moevideo.py
mofosex.py
mojvideo.py
moniker.py
mooshare.py
morningstar.py
motherless.py
motorsport.py
movieclips.py
moviezine.py
mpora.py
mtv.py
muenchentv.py
musicplayon.py
muzu.py
mwave.py
myspace.py
myspass.py
myvi.py
myvideo.py
myvidster.py
nationalgeographic.py
naver.py
nba.py [nba] use int_or_none for tbr 2015-12-05 21:04:22 +01:00
nbc.py [nbc:news] Remove unnecessary compat_str 2015-12-20 06:43:42 +06:00
ndr.py [ndr] Fix description and upload date extraction (Closes #7893) 2015-12-18 21:34:17 +06:00
ndtv.py
nerdcubed.py
nerdist.py
neteasemusic.py
netzkino.py
newgrounds.py
newstube.py
nextmedia.py
nfb.py
nfl.py
nhl.py
niconico.py
ninegag.py
noco.py [noco] Fix bitrates 2015-12-17 22:18:28 +06:00
normalboots.py
nosvideo.py
nova.py
novamov.py [novamov] Fix again 2015-12-14 02:50:59 +08:00
nowness.py [nowness] Add support for brightcove:new videos (Closes #7884) 2015-12-18 22:05:56 +06:00
nowtv.py [nowtv] Extend _VALID_URL to support jahr URLs (Closes #7755) 2015-12-06 16:18:59 +06:00
npo.py
nrk.py [nrk] Extract f4m formats and impose geo restriction only when not media URL (Closes #7715) 2015-12-01 18:35:24 +06:00
ntvde.py
ntvru.py
nuvid.py
nytimes.py
odnoklassniki.py
oktoberfesttv.py
onionstudios.py
ooyala.py [ooyala] improve extraction 2015-12-10 19:08:16 +01:00
orf.py
parliamentliveuk.py
patreon.py
pbs.py [pbs] Extend _VALID_URL (Closes #7889) 2015-12-17 20:24:33 +06:00
periscope.py
philharmoniedeparis.py
phoenix.py
photobucket.py
pinkbike.py
pladform.py [pladform] Add _extract_url routine 2015-12-07 22:02:45 +06:00
planetaplay.py
played.py
playfm.py
playtvak.py
playvid.py
playwire.py
pluralsight.py [pluralsight] Fix format code split while guessing quality 2015-12-06 01:40:13 +06:00
podomatic.py
porn91.py
pornhd.py
pornhub.py [pornhub:playlist] Allow alphanumeric viewkeys (Closes #7695) 2015-11-30 03:47:01 +06:00
pornotube.py
pornovoisines.py
pornoxo.py
primesharetv.py
promptfile.py
prosiebensat1.py
puls4.py
pyvideo.py
qqmusic.py
quickvid.py
r7.py
radiobremen.py
radiode.py
radiofrance.py
radiojavan.py
rai.py
rbmaradio.py
rds.py
redtube.py
restudy.py
reverbnation.py
ringtv.py
ro220.py
rottentomatoes.py
roxwel.py
rtbf.py
rte.py
rtl2.py
rtlnl.py
rtp.py
rts.py
rtve.py
rtvnh.py
ruhd.py
rutube.py [rutube] Extend _VALID_URL 2015-12-16 04:44:17 +06:00
rutv.py
ruutu.py
safari.py [safari] Use postdata_urlencode (#7465) 2015-12-12 14:28:05 +08:00
sandia.py
sapo.py
savefrom.py
sbs.py
scivee.py
screencast.py
screencastomatic.py
screenwavemedia.py
senateisvp.py
servingsys.py
sexu.py
sexykarma.py
shahid.py
shared.py
sharesix.py
sina.py
skynewsarabia.py [skynewsarabia] fix extractor name 2015-12-04 16:23:44 +01:00
slideshare.py
slutload.py
smotri.py
snagfilms.py
snotr.py
sohu.py [sohu]fix 403 forbidden 2015-12-08 14:14:14 +08:00
soundcloud.py
soundgasm.py
southpark.py
space.py
spankbang.py
spankwire.py
spiegel.py [spiegel] Fix extraction (Closes #7693) 2015-11-29 17:03:33 +06:00
spiegeltv.py
spike.py
sport5.py
sportbox.py
sportdeutschland.py
srf.py [srf] Support audios (closes #7760) 2015-12-05 16:26:30 +08:00
srmediathek.py
ssa.py
stanfordoc.py
steam.py
stitcher.py
streamcloud.py
streamcz.py
streetvoice.py
sunporno.py
svt.py
swrmediathek.py
syfy.py
sztvhu.py
tagesschau.py
tapely.py
tass.py
teachertube.py
teachingchannel.py [ooyala] fix duration scale 2015-12-04 16:18:02 +01:00
teamcoco.py
techtalks.py
ted.py
tele13.py [tele13] improve extraction 2015-12-20 15:48:19 +01:00
telebruxelles.py
telecinco.py
telegraaf.py
telemb.py
teletask.py
tenplay.py
testtube.py
testurl.py
tf1.py [tf1] Fix tests 2015-12-15 21:36:59 +06:00
theonion.py
theplatform.py [theplatform] Add support for referer protected videos wuth explicit SMIL 2015-12-08 21:15:45 +06:00
thesixtyone.py
thisamericanlife.py
thisav.py
thvideo.py
tinypic.py
tlc.py
tmz.py
tnaflix.py
toggle.py [toggle] Change IE_NAME 2015-12-19 23:11:23 +06:00
toutv.py
toypics.py
traileraddict.py
trilulilu.py [trilulilu] handle errors 2015-12-05 09:42:00 +01:00
trutube.py
tube8.py
tubitv.py
tudou.py
tumblr.py
tunein.py
turbo.py
tutv.py
tv2.py
tv4.py
tvc.py
tvigle.py
tvp.py
tvplay.py
tweakers.py
twentyfourvideo.py
twentytwotracks.py
twitch.py
twitter.py
ubu.py
udemy.py [udemy] Make lecture downloading fatal 2015-12-02 00:53:03 +06:00
udn.py
ultimedia.py
unistra.py
urort.py
ustream.py
varzesh3.py
vbox7.py
veehd.py
veoh.py
vessel.py
vesti.py
vevo.py [vevo] Use _download_smil to provide informative error messages 2015-12-11 19:16:51 +08:00
vgtv.py [vgtv] update tests and correct format sorting 2015-12-22 15:54:51 +01:00
vh1.py
vice.py [ooyala] fix duration scale 2015-12-04 16:18:02 +01:00
viddler.py
videodetective.py
videofyme.py
videomega.py
videopremium.py
videott.py
vidme.py
vidzi.py
vier.py
viewster.py
viidea.py
viki.py [viki] detect errors and fix formats extraction 2015-12-22 09:55:25 +01:00
vimeo.py [vimeo] add test for original format 2015-12-16 17:00:17 +01:00
vimple.py
vine.py
vk.py [vk] Add test for pladform embed 2015-12-07 22:05:54 +06:00
vlive.py
vodlocker.py [vodlocker] Capture file not found error (Closes #7696) 2015-11-30 03:58:39 +06:00
voicerepublic.py
vporn.py
vrt.py
vube.py
vuclip.py
vulture.py
walla.py
washingtonpost.py
wat.py
wayofthemaster.py
wdr.py [wdr] extract all formats(closes #7788) 2015-12-11 17:31:33 +01:00
webofstories.py
weibo.py
wimp.py [wimp] Improve video URL regex 2015-12-07 22:18:00 +06:00
wistia.py
worldstarhiphop.py
wrzuta.py
wsj.py
xbef.py
xboxclips.py
xfileshare.py
xhamster.py
xminus.py
xnxx.py
xstream.py [vgtv] update tests and correct format sorting 2015-12-22 15:54:51 +01:00
xtube.py
xuite.py
xvideos.py
xxxymovies.py
yahoo.py
yam.py
yandexmusic.py
yesjapan.py
yinyuetai.py
ynet.py
youjizz.py
youku.py [youku] check for the correct variable 2015-12-17 12:51:50 +01:00
youporn.py
yourupload.py
youtube.py [youtube] Generalize playlists extractor 2015-12-20 07:48:16 +06:00
zapiks.py
zdf.py
zingmp3.py