Browse Source

Add SiteInfo entries for more common sites

merge-requests/102/head
Deimos 5 years ago
parent
commit
2724dc9a98
  1. 8
      tildes/tildes/lib/site_info.py

8
tildes/tildes/lib/site_info.py

@ -42,6 +42,7 @@ SITE_INFO_BY_DOMAIN = {
"apnews.com": SiteInfo("Associated Press"), "apnews.com": SiteInfo("Associated Press"),
"appleinsider.com": SiteInfo("AppleInsider"), "appleinsider.com": SiteInfo("AppleInsider"),
"arstechnica.com": SiteInfo("Ars Technica"), "arstechnica.com": SiteInfo("Ars Technica"),
"arxiv.org": SiteInfo("arXiv"),
"atlasobsura.com": SiteInfo("Atlas Obscura"), "atlasobsura.com": SiteInfo("Atlas Obscura"),
"axios.com": SiteInfo("Axios"), "axios.com": SiteInfo("Axios"),
"bandcamp.com": SiteInfo("Bandcamp", content_type=None), "bandcamp.com": SiteInfo("Bandcamp", content_type=None),
@ -65,10 +66,12 @@ SITE_INFO_BY_DOMAIN = {
"eater.com": SiteInfo("Eater"), "eater.com": SiteInfo("Eater"),
"eff.org": SiteInfo("Electronic Frontier Foundation"), "eff.org": SiteInfo("Electronic Frontier Foundation"),
"egmnow.com": SiteInfo("EGM"), "egmnow.com": SiteInfo("EGM"),
"engadget.com": SiteInfo("Engadget"),
"eurogamer.net": SiteInfo("Eurogamer"), "eurogamer.net": SiteInfo("Eurogamer"),
"fastcompany.com": SiteInfo("Fast Company"), "fastcompany.com": SiteInfo("Fast Company"),
"fivethirtyeight.com": SiteInfo("FiveThirtyEight"), "fivethirtyeight.com": SiteInfo("FiveThirtyEight"),
"forbes.com": SiteInfo("Forbes"), "forbes.com": SiteInfo("Forbes"),
"fortune.com": SiteInfo("Fortune"),
"ftc.gov": SiteInfo("Federal Trade Commission"), "ftc.gov": SiteInfo("Federal Trade Commission"),
"gamasutra.com": SiteInfo("Gamasutra"), "gamasutra.com": SiteInfo("Gamasutra"),
"gamesindustry.biz": SiteInfo("GamesIndustry.biz"), "gamesindustry.biz": SiteInfo("GamesIndustry.biz"),
@ -77,6 +80,7 @@ SITE_INFO_BY_DOMAIN = {
"gq.com": SiteInfo("GQ"), "gq.com": SiteInfo("GQ"),
"hackaday.com": SiteInfo("Hackaday"), "hackaday.com": SiteInfo("Hackaday"),
"hackernoon.com": SiteInfo("Hacker Noon"), "hackernoon.com": SiteInfo("Hacker Noon"),
"hollywoodreporter.com": SiteInfo("The Hollywood Reporter"),
"hpe.com": SiteInfo("Hewlett Packard Enterprise"), "hpe.com": SiteInfo("Hewlett Packard Enterprise"),
"huffpost.com": SiteInfo("HuffPost"), "huffpost.com": SiteInfo("HuffPost"),
"imgur.com": SiteInfo("Imgur", content_type=TopicContentType.IMAGE), "imgur.com": SiteInfo("Imgur", content_type=TopicContentType.IMAGE),
@ -101,6 +105,7 @@ SITE_INFO_BY_DOMAIN = {
"nymag.com": SiteInfo("New York Magazine"), "nymag.com": SiteInfo("New York Magazine"),
"nytimes.com": SiteInfo("The New York Times"), "nytimes.com": SiteInfo("The New York Times"),
"outsideonline.com": SiteInfo("Outside"), "outsideonline.com": SiteInfo("Outside"),
"patreon.com": SiteInfo("Patreon", content_type=None),
"pcgamer.com": SiteInfo("PC Gamer"), "pcgamer.com": SiteInfo("PC Gamer"),
"pinknews.co.uk": SiteInfo("PinkNews"), "pinknews.co.uk": SiteInfo("PinkNews"),
"politico.com": SiteInfo("Politico"), "politico.com": SiteInfo("Politico"),
@ -108,6 +113,7 @@ SITE_INFO_BY_DOMAIN = {
"polygon.com": SiteInfo("Polygon"), "polygon.com": SiteInfo("Polygon"),
"popsci.com": SiteInfo("Popular Science"), "popsci.com": SiteInfo("Popular Science"),
"propublica.org": SiteInfo("ProPublica"), "propublica.org": SiteInfo("ProPublica"),
"protocol.com": SiteInfo("Protocol"),
"psmag.com": SiteInfo("Pacific Standard"), "psmag.com": SiteInfo("Pacific Standard"),
"quantamagazine.org": SiteInfo("Quanta Magazine"), "quantamagazine.org": SiteInfo("Quanta Magazine"),
"qz.com": SiteInfo("Quartz"), "qz.com": SiteInfo("Quartz"),
@ -139,10 +145,12 @@ SITE_INFO_BY_DOMAIN = {
"thebaffler.com": SiteInfo("The Baffler"), "thebaffler.com": SiteInfo("The Baffler"),
"theconversation.com": SiteInfo("The Conversation"), "theconversation.com": SiteInfo("The Conversation"),
"thecorrespondent.com": SiteInfo("The Correspondent"), "thecorrespondent.com": SiteInfo("The Correspondent"),
"thecut.com": SiteInfo("The Cut"),
"thedrive.com": SiteInfo("The Drive"), "thedrive.com": SiteInfo("The Drive"),
"theguardian.com": SiteInfo("The Guardian"), "theguardian.com": SiteInfo("The Guardian"),
"thehill.com": SiteInfo("The Hill"), "thehill.com": SiteInfo("The Hill"),
"theinformation.com": SiteInfo("The Information"), "theinformation.com": SiteInfo("The Information"),
"theintercept.com": SiteInfo("The Intercept"),
"theoutline.com": SiteInfo("The Outline"), "theoutline.com": SiteInfo("The Outline"),
"theparisreview.org": SiteInfo("Paris Review"), "theparisreview.org": SiteInfo("Paris Review"),
"theregister.co.uk": SiteInfo("The Register"), "theregister.co.uk": SiteInfo("The Register"),

Loading…
Cancel
Save