From 39449dd776239c50e93b247ddb7d5e762216c369 Mon Sep 17 00:00:00 2001 From: Deimos Date: Wed, 11 Dec 2019 17:10:00 -0700 Subject: [PATCH] Add SiteInfo entries for more common sites --- tildes/tildes/lib/site_info.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tildes/tildes/lib/site_info.py b/tildes/tildes/lib/site_info.py index f410666..b21a215 100644 --- a/tildes/tildes/lib/site_info.py +++ b/tildes/tildes/lib/site_info.py @@ -40,7 +40,9 @@ SITE_INFO_BY_DOMAIN = { "aljazeera.com": SiteInfo("Al Jazeera"), "animenewsnetwork.com": SiteInfo("Anime News Network"), "apnews.com": SiteInfo("Associated Press"), + "appleinsider.com": SiteInfo("AppleInsider"), "arstechnica.com": SiteInfo("Ars Technica"), + "atlasobsura.com": SiteInfo("Atlas Obscura"), "axios.com": SiteInfo("Axios"), "bandcamp.com": SiteInfo("Bandcamp", content_type=None), "bbc.co.uk": SiteInfo("BBC"), @@ -52,13 +54,17 @@ SITE_INFO_BY_DOMAIN = { "citylab.com": SiteInfo("CityLab"), "cnbc.com": SiteInfo("CNBC"), "cnn.com": SiteInfo("CNN"), + "currentaffairs.org": SiteInfo("Current Affairs"), "dev.to": SiteInfo("DEV"), "dw.com": SiteInfo("DW"), + "eater.com": SiteInfo("Eater"), "eurogamer.net": SiteInfo("Eurogamer"), "forbes.com": SiteInfo("Forbes"), "gamasutra.com": SiteInfo("Gamasutra"), "github.com": SiteInfo("GitHub", show_author=True, content_type=None), + "gizmodo.com": SiteInfo("Gizmodo"), "gq.com": SiteInfo("GQ"), + "hackernoon.com": SiteInfo("Hacker Noon"), "hpe.com": SiteInfo("Hewlett Packard Enterprise"), "huffpost.com": SiteInfo("HuffPost"), "imgur.com": SiteInfo("Imgur", content_type=TopicContentType.IMAGE), @@ -75,6 +81,7 @@ SITE_INFO_BY_DOMAIN = { "npr.org": SiteInfo("NPR"), "nymag.com": SiteInfo("New York Magazine"), "nytimes.com": SiteInfo("The New York Times"), + "outsideonline.com": SiteInfo("Outside"), "pinknews.co.uk": SiteInfo("PinkNews"), "polygon.com": SiteInfo("Polygon"), "propublica.org": SiteInfo("ProPublica"), @@ -92,16 +99,24 @@ SITE_INFO_BY_DOMAIN = { "smh.com.au": SiteInfo("The Sydney Morning Herald"), "soundcloud.com": SiteInfo("SoundCloud", show_author=True, content_type=None), "spacenews.com": SiteInfo("SpaceNews"), + "steamcommunity.com": SiteInfo("Steam"), + "steampowered.com": SiteInfo("Steam", content_type=None), "techcrunch.com": SiteInfo("TechCrunch"), + "techdirt.com": SiteInfo("Techdirt"), "technologyreview.com": SiteInfo("MIT Technology Review"), "telegraph.co.uk": SiteInfo("The Telegraph"), "theatlantic.com": SiteInfo("The Atlantic"), "theconversation.com": SiteInfo("The Conversation"), + "thedrive.com": SiteInfo("The Drive"), "theguardian.com": SiteInfo("The Guardian"), "thehill.com": SiteInfo("The Hill"), "theinformation.com": SiteInfo("The Information"), "theoutline.com": SiteInfo("The Outline"), "theverge.com": SiteInfo("The Verge"), + "threadreaderapp.com": SiteInfo( + "Twitter (via Thread Reader)", content_type=TopicContentType.TWEET + ), + "time.com": SiteInfo("TIME"), "twitter.com": SiteInfo( "Twitter", show_author=True, content_type=TopicContentType.TWEET ),