From 7e5aa833aecddceee798771c93b7d5c927b08616 Mon Sep 17 00:00:00 2001 From: Deimos Date: Wed, 18 Dec 2019 18:28:45 -0700 Subject: [PATCH] Add more SiteInfo entries for common sites --- tildes/tildes/lib/site_info.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tildes/tildes/lib/site_info.py b/tildes/tildes/lib/site_info.py index 2d71f6b..15d6460 100644 --- a/tildes/tildes/lib/site_info.py +++ b/tildes/tildes/lib/site_info.py @@ -59,11 +59,14 @@ SITE_INFO_BY_DOMAIN = { "dw.com": SiteInfo("DW"), "eater.com": SiteInfo("Eater"), "eff.org": SiteInfo("Electronic Frontier Foundation"), + "egmnow.com": SiteInfo("EGM"), "eurogamer.net": SiteInfo("Eurogamer"), + "fastcompany.com": SiteInfo("Fast Company"), "fivethirtyeight.com": SiteInfo("FiveThirtyEight"), "forbes.com": SiteInfo("Forbes"), "ftc.gov": SiteInfo("Federal Trade Commission"), "gamasutra.com": SiteInfo("Gamasutra"), + "gamesindustry.biz": SiteInfo("GamesIndustry.biz"), "github.com": SiteInfo("GitHub", show_author=True, content_type=None), "gizmodo.com": SiteInfo("Gizmodo"), "gq.com": SiteInfo("GQ"), @@ -76,6 +79,7 @@ SITE_INFO_BY_DOMAIN = { "kotaku.com": SiteInfo("Kotaku"), "latimes.com": SiteInfo("Los Angeles Times"), "medium.com": SiteInfo("Medium", show_author=True), + "melmagazine.com": SiteInfo("MEL Magazine"), "mozilla.org": SiteInfo("Mozilla"), "nasa.gov": SiteInfo("NASA"), "nature.com": SiteInfo("Nature"), @@ -101,6 +105,7 @@ SITE_INFO_BY_DOMAIN = { "si.com": SiteInfo("Sports Illustrated"), "slate.com": SiteInfo("Slate"), "smh.com.au": SiteInfo("The Sydney Morning Herald"), + "smithsonianmag.com": SiteInfo("Smithsonian"), "soundcloud.com": SiteInfo("SoundCloud", show_author=True, content_type=None), "spacenews.com": SiteInfo("SpaceNews"), "steamcommunity.com": SiteInfo("Steam"), @@ -116,15 +121,19 @@ SITE_INFO_BY_DOMAIN = { "thehill.com": SiteInfo("The Hill"), "theinformation.com": SiteInfo("The Information"), "theoutline.com": SiteInfo("The Outline"), + "theparisreview.org": SiteInfo("Paris Review"), + "theringer.com": SiteInfo("The Ringer"), "theverge.com": SiteInfo("The Verge"), "threadreaderapp.com": SiteInfo( "Twitter (via Thread Reader)", content_type=TopicContentType.TWEET ), "time.com": SiteInfo("TIME"), + "tortoisemedia.com": SiteInfo("Tortoise"), "twitter.com": SiteInfo( "Twitter", show_author=True, content_type=TopicContentType.TWEET ), "usatoday.com": SiteInfo("USA Today"), + "vanityfair.com": SiteInfo("Vanity Fair"), "variety.com": SiteInfo("Variety"), "vice.com": SiteInfo("VICE"), "vimeo.com": SiteInfo(