speakerdeck = {
    "endpoint": "https://speakerdeck.com/oembed.{format}",
    "urls": [
        r'^https?://speakerdeck\.com/.+$',
    ],
}

app_net = {
    "endpoint": "https://alpha-api.app.net/oembed",
    "urls": [
        r'^https?://alpha\.app\.net/[^#?/]+/post/.+$',
        r'^https?://photos\.app\.net/[^#?/]+/.+$',
    ],
}

youtube = {
    "endpoint": "https://www.youtube.com/oembed",
    "urls": [
        r'^https?://(?:[-\w]+\.)?youtube\.com/watch.+$',
        r'^https?://(?:[-\w]+\.)?youtube\.com/v/.+$',
        r'^https?://youtu\.be/.+$',
        r'^https?://(?:[-\w]+\.)?youtube\.com/user/.+$',
        r'^https?://(?:[-\w]+\.)?youtube\.com/[^#?/]+#[^#?/]+/.+$',
        r'^https?://m\.youtube\.com/index.+$',
        r'^https?://(?:[-\w]+\.)?youtube\.com/profile.+$',
        r'^https?://(?:[-\w]+\.)?youtube\.com/view_play_list.+$',
        r'^https?://(?:[-\w]+\.)?youtube\.com/playlist.+$',
    ],
}

deviantart = {
    "endpoint": "https://backend.deviantart.com/oembed",
    "urls": [
        r'^https?://(?:[-\w]+\.)?deviantart\.com/art/.+$',
        r'^https?://fav\.me/.+$',
        r'^https?://sta\.sh/.+$',
        r'^https?://(?:[-\w]+\.)?deviantart\.com/[^#?/]+#/d.+$',
    ],
}

blip_tv = {
    "endpoint": "http://blip.tv/oembed/",
    "urls": [
        r'^http://[-\w]+\.blip\.tv/.+$',
    ],
}

dailymotion = {
    "endpoint": "https://www.dailymotion.com/api/oembed/",
    "urls": [
        r'^https?://[-\w]+\.dailymotion\.com/.+$',
    ],
}

flikr = {
    "endpoint": "https://www.flickr.com/services/oembed/",
    "urls": [
        r'^https?://[-\w]+\.flickr\.com/photos/.+$',
        r'^https?://flic\.kr\.com/.+$',
    ],
}

hulu = {
    "endpoint": "https://www.hulu.com/api/oembed.{format}",
    "urls": [
        r'^https?://www\.hulu\.com/watch/.+$',
    ],
}

nfb = {
    "endpoint": "http://www.nfb.ca/remote/services/oembed/",
    "urls": [
        r'^http://(?:[-\w]+\.)?nfb\.ca/film/.+$',
    ],
}

qik = {
    "endpoint": "http://qik.com/api/oembed.{format}",
    "urls": [
        r'^http://qik\.com/.+$',
        r'^http://qik\.ly/.+$',
    ],
}

revision3 = {
    "endpoint": "http://revision3.com/api/oembed/",
    "urls": [
        r'^http://[-\w]+\.revision3\.com/.+$',
    ],
}

scribd = {
    "endpoint": "https://www.scribd.com/services/oembed",
    "urls": [
        r'^https?://[-\w]+\.scribd\.com/.+$',
    ],
}

viddler = {
    "endpoint": "https://www.viddler.com/oembed/",
    "urls": [
        r'^https?://[-\w]+\.viddler\.com/v/.+$',
        r'^https?://[-\w]+\.viddler\.com/explore/.+$',
    ],
}

vimeo = {
    "endpoint": "https://www.vimeo.com/api/oembed.{format}",
    "urls": [
        r'^https?://(?:www\.)?vimeo\.com/.+$',
        r'^https?://player\.vimeo\.com/.+$',
    ],
}

dotsub = {
    "endpoint": "https://dotsub.com/services/oembed",
    "urls": [
        r'^https?://dotsub\.com/view/.+$',
    ],
}

yfrog = {
    "endpoint": "http://www.yfrog.com/api/oembed",
    "urls": [
        r'^https?://(?:www\.)?yfrog\.com/.+$',
        r'^https?://(?:www\.)?yfrog\.us/.+$',
    ],
}

clickthrough = {
    "endpoint": "http://clikthrough.com/services/oembed",
    "urls": [
        r'^https?://(?:[-\w]+\.)?clikthrough\.com/.+$',
    ],
}

kinomap = {
    "endpoint": "https://www.kinomap.com/oembed",
    "urls": [
        r'^https?://[-\w]+\.kinomap\.com/.+$',
    ],
}

photobucket = {
    "endpoint": "https://photobucket.com/oembed",
    "urls": [
        r'^http://(?:[-\w]+\.)?photobucket\.com/albums/.+$',
        r'^http://(?:[-\w]+\.)?photobucket\.com/groups/.+$',
    ],
}

slideshare = {
    "endpoint": "https://www.slideshare.net/api/oembed/2",
    "urls": [
        r'^https?://www\.slideshare\.net/.+$',
    ],
}

major_league_gaming = {
    "endpoint": "http://tv.majorleaguegaming.com/oembed",
    "urls": [
        r'^http://mlg\.tv/.+$',
        r'^http://tv\.majorleaguegaming\.com/.+$',
    ],
}

opera = {
    "endpoint": "http://my.opera.com/service/oembed",
    "urls": [
        r'^http://my\.opera\.com/.+$',
    ],
}

skitch = {
    "endpoint": "http://skitch.com/oembed",
    "urls": [
        r'^https?://(?:www\.)?skitch\.com/.+$',
        r'^http://skit\.ch/.+$',
    ],
}

twitter = {
    "endpoint": "https://api.twitter.com/1/statuses/oembed.{format}",
    "urls": [
        r'^https?://twitter\.com/(?:#!)?[^#?/]+/status/.+$',
    ],
}

soundcloud = {
    "endpoint": "https://soundcloud.com/oembed",
    "urls": [
        r'^https://soundcloud\.com/.+$',
    ],
}

collegehumor = {
    "endpoint": "http://www.collegehumor.com/oembed.{format}",
    "urls": [
        r'^http://(?:www\.)?collegehumor\.com/video/.+$',
        r'^http://(?:www\.)?collegehumor\.com/video:.+$',
    ],
}

polleverywhere = {
    "endpoint": "https://www.polleverywhere.com/services/oembed/",
    "urls": [
        r'^https?://www\.polleverywhere\.com/polls/.+$',
        r'^https?://www\.polleverywhere\.com/multiple_choice_polls/.+$',
        r'^https?://www\.polleverywhere\.com/free_text_polls/.+$',
    ],
}

ifixit = {
    "endpoint": "https://www.ifixit.com/Embed",
    "urls": [
        r'^https?://www\.ifixit\.com/[^#?/]+/[^#?/]+/.+$',
    ],
}

smugmug = {
    "endpoint": "https://api.smugmug.com/services/oembed/",
    "urls": [
        r'^https?://(?:www\.)?smugmug\.com/[^#?/]+/.+$',
    ],
}

github_gist = {
    "endpoint": "https://github.com/api/oembed",
    "urls": [
        r'^https?://gist\.github\.com/.+$',
    ],
}

animoto = {
    "endpoint": "https://animoto.com/services/oembed",
    "urls": [
        r'^https?://animoto\.com/play/.+$',
    ],
}

rdio = {
    "endpoint": "http://www.rdio.com/api/oembed",
    "urls": [
        r'^http://(?:wwww\.)?rdio\.com/people/[^#?/]+/playlists/.+$',
        r'^http://[-\w]+\.rdio\.com/artist/[^#?/]+/album/.+$',
    ],
}

five_min = {
    "endpoint": "http://api.5min.com/oembed.{format}",
    "urls": [
        r'^http://www\.5min\.com/video/.+$',
    ],
}

five_hundred_px = {
    "endpoint": "https://500px.com/photo/{1}/oembed.{format}",
    "urls": [
        r'^https?://500px\.com/photo/([^#?/]+)(?:.+)?$',
    ],
}

dipdive = {
    "endpoint": "http://api.dipdive.com/oembed.{format}",
    "urls": [
        r'^http://[-\w]+\.dipdive\.com/media/.+$',
    ],
}

yandex = {
    "endpoint": "https://video.yandex.ru/oembed.{format}",
    "urls": [
        r'^https?://video\.yandex\.ru/users/[^#?/]+/view/.+$',
    ],
}

mixcloud = {
    "endpoint": "https://www.mixcloud.com/oembed/",
    "urls": [
        r'^https?://(?:www\.)?mixcloud\.com/.+$',
    ],
}

kickstarter = {
    "endpoint": "https://www.kickstarter.com/services/oembed",
    "urls": [
        r'^https?://[-\w]+\.kickstarter\.com/projects/.+$',
    ],
}

coub = {
    "endpoint": "http://coub.com/api/oembed.{format}",
    "urls": [
        r'^https?://coub\.com/view/.+$',
        r'^https?://coub\.com/embed/.+$',
    ],
}

screenr = {
    "endpoint": "http://www.screenr.com/api/oembed.{format}",
    "urls": [
        r'^http://www\.screenr\.com/.+$',
    ],
}

funny_or_die = {
    "endpoint": "https://www.funnyordie.com/oembed.{format}",
    "urls": [
        r'^https?://www\.funnyordie\.com/videos/.+$',
    ],
}

wistia = {
    "endpoint": "http://fast.wistia.com/oembed.{format}",
    "urls": [
        r'^https?://([^/]+\.)?(wistia.com|wi.st)/(medias|embed)/.+$',
    ],
}

ustream = {
    "endpoint": "http://www.ustream.tv/oembed",
    "urls": [
        r'^https?://(?:www\.)?ustream\.tv/.+$',
        r'^https?://(?:www\.)?ustream\.com/.+$',
        r'^http://ustre\.am/.+$',
    ],
}

wordpress = {
    "endpoint": "https://wordpress.tv/oembed/",
    "urls": [
        r'^https?://wordpress\.tv/.+$',
    ],
}

polldaddy = {
    "endpoint": "https://polldaddy.com/oembed/",
    "urls": [
        r'^https?://(?:[-\w]+\.)?polldaddy\.com/.+$',
    ],
}

bambuser = {
    "endpoint": "http://api.bambuser.com/oembed.{format}",
    "urls": [
        r'^http://bambuser\.com/channel/[^#?/]+/broadcast/.+$',
        r'^http://bambuser\.com/channel/.+$',
        r'^http://bambuser\.com/v/.+$',
    ],
}

ted = {
    "endpoint": "https://www.ted.com/talks/oembed.{format}",
    "urls": [
        r'^https?://(?:www\.)?ted\.com/talks/.+$',
        r'^https?://(?:www\.)?ted\.com/talks/lang/[^#?/]+/.+$',
        r'^https?://(?:www\.)?ted\.com/index\.php/talks/.+$',
        r'^https?://(?:www\.)?ted\.com/index\.php/talks/lang/[^#?/]+/.+$',
    ],
}

chirb = {
    "endpoint": "https://chirb.it/oembed.{format}",
    "urls": [
        r'^https?://chirb\.it/.+$',
    ],
}

circuitlab = {
    "endpoint": "https://www.circuitlab.com/circuit/oembed/",
    "urls": [
        r'^https?://(?:www\.)?circuitlab\.com/circuit/.+$',
    ],
}

geograph_uk = {
    "endpoint": "http://api.geograph.org.uk/api/oembed",
    "urls": [
        r'^https?://(?:[-\w]+\.)?geograph\.org\.uk/.+$',
        r'^https?://(?:[-\w]+\.)?geograph\.co\.uk/.+$',
        r'^https?://(?:[-\w]+\.)?geograph\.ie/.+$',
    ],
}

hlipp = {
    "endpoint": "http://geo.hlipp.de/restapi.php/api/oembed",
    "urls": [
        r'^https?://geo-en\.hlipp\.de/.+$',
        r'^https?://geo\.hlipp\.de/.+$',
        r'^https?://germany\.geograph\.org/.+$',
    ],
}

geograph_gg = {
    "endpoint": "http://www.geograph.org.gg/api/oembed",
    "urls": [
        r'^https?://(?:[-\w]+\.)?geograph\.org\.gg/.+$',
        r'^https?://(?:[-\w]+\.)?geograph\.org\.je/.+$',
        r'^https?://channel-islands\.geograph\.org/.+$',
        r'^https?://channel-islands\.geographs\.org/.+$',
        r'^https?://(?:[-\w]+\.)?channel\.geographs\.org/.+$',
    ],
}

vzaar = {
    "endpoint": "http://vzaar.com/api/videos/{1}.{format}",
    "urls": [
        r'^http://(?:www\.)?vzaar\.com/videos/([^#?/]+)(?:.+)?$',
        r'^http://www\.vzaar\.tv/([^#?/]+)(?:.+)?$',
        r'^http://vzaar\.tv/([^#?/]+)(?:.+)?$',
        r'^http://vzaar\.me/([^#?/]+)(?:.+)?$',
        r'^http://[-\w]+\.vzaar\.me/([^#?/]+)(?:.+)?$',
    ],
}

minoto = {
    "endpoint": "http://api.minoto-video.com/services/oembed.{format}",
    "urls": [
        r'^http://api\.minoto-video\.com/publishers/[^#?/]+/videos/.+$',
        r'^http://dashboard\.minoto-video\.com/main/video/details/.+$',
        r'^http://embed\.minoto-video\.com/.+$',
    ],
}

videojug = {
    "endpoint": "http://www.videojug.com/oembed.{format}",
    "urls": [
        r'^https?://(?:[-\w]+\.)?videojug\.com/film/.+$',
        r'^https?://(?:[-\w]+\.)?videojug\.com/payer/.+$',
        r'^https?://(?:[-\w]+\.)?videojug\.com/interview/.+$',
    ],
}

sapo = {
    "endpoint": "http://videos.sapo.pt/oembed",
    "urls": [
        r'^https?://videos\.sapo\.pt/.+$',
    ],
}

vhx_tv = {
    "endpoint": "http://vhx.tv/services/oembed.{format}",
    "urls": [
        r'^https?://(?:www\.)?vhx\.tv/.+$',
    ],
}

justin_tv = {
    "endpoint": "http://api.justin.tv/api/embed/from_url.{format}",
    "urls": [
        r'^https?://(?:www\.)?justin\.tv/.+$',
    ],
}

official_fm = {
    "endpoint": "http://official.fm/services/oembed.{format}",
    "urls": [
        r'^https?://official\.fm/.+$',
    ],
}

huffduffer = {
    "endpoint": "https://huffduffer.com/oembed",
    "urls": [
        r'^https?://(?:www\.)?huffduffer\.com/[^#?/]+/.+$',
    ],
}

spotify = {
    "endpoint": "https://embed.spotify.com/oembed/",
    "urls": [
        r'^https?://open\.spotify\.com/.+$',
        r'^https?://spoti\.fi/.+$',
    ],
}

shoudio = {
    "endpoint": "https://shoudio.com/api/oembed",
    "urls": [
        r'^https?://shoudio\.com/.+$',
        r'^https?://shoud\.io/.+$',
    ],
}

mobypicture = {
    "endpoint": "http://api.mobypicture.com/oEmbed",
    "urls": [
        r'^https?://(?:www\.)?mobypicture\.com/user/[^#?/]+/view/.+$',
        r'^https?://(?:www\.)?moby\.to/.+$',
    ],
}

twenty_three_hq = {
    "endpoint": "http://www.23hq.com/23/oembed",
    "urls": [
        r'^https?://(?:www\.)?23hq\.com/[^#?/]+/photo/.+$',
    ],
}

gmep = {
    "endpoint": "http://gmep.org/oembed.{format}",
    "urls": [
        r'^https?://(?:www\.)?gmep\.org/.+$',
        r'^https?://gmep\.imeducate\.com/.+$',
    ],
}

urtak = {
    "endpoint": "http://oembed.urtak.com/1/oembed",
    "urls": [
        r'^https?://(?:[-\w]+\.)?urtak\.com/.+$',
    ],
}

cacoo = {
    "endpoint": "http://cacoo.com/oembed.{format}",
    "urls": [
        r'^https?://cacoo\.com/.+$',
    ],
}

dailymile = {
    "endpoint": "http://api.dailymile.com/oembed",
    "urls": [
        r'^https?://(?:www\.)?dailymile\.com/people/[^#?/]+/entries/.+$',
    ],
}

dipity = {
    "endpoint": "http://www.dipity.com/oembed/timeline/",
    "urls": [
        r'^https?://(?:www\.)?dipity\.com/timeline/.+$',
        r'^https?://(?:www\.)?dipity\.com/voaweb/.+$',
    ],
}

sketchfab = {
    "endpoint": "https://sketchfab.com/oembed",
    "urls": [
        r'^https?://sketchfab\.com/show/.+$',
    ],
}

meetup = {
    "endpoint": "https://api.meetup.com/oembed",
    "urls": [
        r'^https?://(?:www\.)?meetup\.com/.+$',
        r'^https?://(?:www\.)?meetup\.ps/.+$',
    ],
}

roomshare = {
    "endpoint": "https://roomshare.jp/oembed.{format}",
    "urls": [
        r'^https?://(?:www\.)?roomshare\.jp/(?:en/)?post/.+$',
    ],
}

crowd_ranking = {
    "endpoint": "http://crowdranking.com/api/oembed.{format}",
    "urls": [
        r'^https?://crowdranking\.com/crowdrankings/.+$',
        r'^https?://crowdranking\.com/rankings/.+$',
        r'^https?://crowdranking\.com/topics/.+$',
        r'^https?://crowdranking\.com/widgets/.+$',
        r'^https?://crowdranking\.com/r/.+$',
    ],
}

etsy = {
    "endpoint": "https://openapi.etsy.com/svc/oembed/",
    "urls": [
        r'^https?://(?:www\.)?etsy\.com/listing/.+$',
    ],
}

audioboom = {
    "endpoint": "https://audioboom.com/publishing/oembed.{format}",
    "urls": [
        r'^https?://audioboom\.com/boos/.+$',
        r'^https?://audioboom\.com/posts/.+$',
    ],
}

clikthrough = {
    "endpoint": "http://demo.clikthrough.com/services/oembed/",
    "urls": [
        r'^https?://demo\.clikthrough\.com/theater/video/.+$',
    ],
}

ifttt = {
    "endpoint": "https://www.ifttt.com/oembed/",
    "urls": [
        r'^https?://ifttt\.com/recipes/.+$',
    ],
}

issuu = {
    "endpoint": "https://issuu.com/oembed",
    "urls": [
        r'^https?://(?:www\.)?issuu\.com/[^#?/]+/docs/.+$',
    ],
}

tumblr = {
    "endpoint": "https://www.tumblr.com/oembed/1.0",
    "urls": [
        r'^https?://.+?\.tumblr\.com/post/.+$',
    ]
}

vidyard = {
    "endpoint": "https://api.vidyard.com/dashboard/v1.1/oembed",
    "urls": [
        r'^https?://play\.vidyard\.com/.+$',
        r'^https?://embed\.vidyard\.com/.+$',
        r'^https?://share\.vidyard\.com/.+$',
        r'^https?://.+?\.hubs\.vidyard\.com/.+$'
    ]
}

reddit = {
    'endpoint': 'https://www.reddit.com/oembed',
    'urls': [
        '^https?://(?:www\\.)?reddit\\.com/r/+[^#?/]+/comments/+[^#?/]+[^#?/].+$',
    ]
}

all_providers = [
    speakerdeck, app_net, youtube, deviantart, blip_tv, dailymotion, flikr,
    hulu, nfb, qik, revision3, scribd, viddler, vimeo, dotsub, yfrog,
    clickthrough, kinomap, photobucket, slideshare,
    major_league_gaming, opera, skitch, twitter, soundcloud, collegehumor,
    polleverywhere, ifixit, smugmug, github_gist, animoto, rdio, five_min,
    five_hundred_px, dipdive, yandex, mixcloud, kickstarter, coub, screenr,
    funny_or_die, wistia, ustream, wordpress, polldaddy, bambuser, ted, chirb,
    circuitlab, geograph_uk, hlipp, geograph_gg, vzaar, minoto, videojug, sapo,
    vhx_tv, justin_tv, official_fm, huffduffer, spotify, shoudio, mobypicture,
    twenty_three_hq, gmep, urtak, cacoo, dailymile, dipity, sketchfab, meetup,
    roomshare, crowd_ranking, etsy, audioboom, clikthrough, ifttt, issuu, tumblr, vidyard,
    reddit
]
