From 2724dc9a98219ed0366ab2f481d424fcb2dcd474 Mon Sep 17 00:00:00 2001 From: Deimos Date: Mon, 10 Feb 2020 18:07:01 -0700 Subject: [PATCH] Add SiteInfo entries for more common sites --- tildes/tildes/lib/site_info.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tildes/tildes/lib/site_info.py b/tildes/tildes/lib/site_info.py index 2e77cad..c4acc48 100644 --- a/tildes/tildes/lib/site_info.py +++ b/tildes/tildes/lib/site_info.py @@ -42,6 +42,7 @@ SITE_INFO_BY_DOMAIN = { "apnews.com": SiteInfo("Associated Press"), "appleinsider.com": SiteInfo("AppleInsider"), "arstechnica.com": SiteInfo("Ars Technica"), + "arxiv.org": SiteInfo("arXiv"), "atlasobsura.com": SiteInfo("Atlas Obscura"), "axios.com": SiteInfo("Axios"), "bandcamp.com": SiteInfo("Bandcamp", content_type=None), @@ -65,10 +66,12 @@ SITE_INFO_BY_DOMAIN = { "eater.com": SiteInfo("Eater"), "eff.org": SiteInfo("Electronic Frontier Foundation"), "egmnow.com": SiteInfo("EGM"), + "engadget.com": SiteInfo("Engadget"), "eurogamer.net": SiteInfo("Eurogamer"), "fastcompany.com": SiteInfo("Fast Company"), "fivethirtyeight.com": SiteInfo("FiveThirtyEight"), "forbes.com": SiteInfo("Forbes"), + "fortune.com": SiteInfo("Fortune"), "ftc.gov": SiteInfo("Federal Trade Commission"), "gamasutra.com": SiteInfo("Gamasutra"), "gamesindustry.biz": SiteInfo("GamesIndustry.biz"), @@ -77,6 +80,7 @@ SITE_INFO_BY_DOMAIN = { "gq.com": SiteInfo("GQ"), "hackaday.com": SiteInfo("Hackaday"), "hackernoon.com": SiteInfo("Hacker Noon"), + "hollywoodreporter.com": SiteInfo("The Hollywood Reporter"), "hpe.com": SiteInfo("Hewlett Packard Enterprise"), "huffpost.com": SiteInfo("HuffPost"), "imgur.com": SiteInfo("Imgur", content_type=TopicContentType.IMAGE), @@ -101,6 +105,7 @@ SITE_INFO_BY_DOMAIN = { "nymag.com": SiteInfo("New York Magazine"), "nytimes.com": SiteInfo("The New York Times"), "outsideonline.com": SiteInfo("Outside"), + "patreon.com": SiteInfo("Patreon", content_type=None), "pcgamer.com": SiteInfo("PC Gamer"), "pinknews.co.uk": SiteInfo("PinkNews"), "politico.com": SiteInfo("Politico"), @@ -108,6 +113,7 @@ SITE_INFO_BY_DOMAIN = { "polygon.com": SiteInfo("Polygon"), "popsci.com": SiteInfo("Popular Science"), "propublica.org": SiteInfo("ProPublica"), + "protocol.com": SiteInfo("Protocol"), "psmag.com": SiteInfo("Pacific Standard"), "quantamagazine.org": SiteInfo("Quanta Magazine"), "qz.com": SiteInfo("Quartz"), @@ -139,10 +145,12 @@ SITE_INFO_BY_DOMAIN = { "thebaffler.com": SiteInfo("The Baffler"), "theconversation.com": SiteInfo("The Conversation"), "thecorrespondent.com": SiteInfo("The Correspondent"), + "thecut.com": SiteInfo("The Cut"), "thedrive.com": SiteInfo("The Drive"), "theguardian.com": SiteInfo("The Guardian"), "thehill.com": SiteInfo("The Hill"), "theinformation.com": SiteInfo("The Information"), + "theintercept.com": SiteInfo("The Intercept"), "theoutline.com": SiteInfo("The Outline"), "theparisreview.org": SiteInfo("Paris Review"), "theregister.co.uk": SiteInfo("The Register"),