From 0d589f2493afda953961d5ddb4d27b90c996fe9b Mon Sep 17 00:00:00 2001 From: Deimos Date: Sat, 25 Jan 2020 13:27:41 -0700 Subject: [PATCH] Add more SiteInfo entries for common sites --- tildes/tildes/lib/site_info.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tildes/tildes/lib/site_info.py b/tildes/tildes/lib/site_info.py index c212099..2e77cad 100644 --- a/tildes/tildes/lib/site_info.py +++ b/tildes/tildes/lib/site_info.py @@ -87,6 +87,7 @@ SITE_INFO_BY_DOMAIN = { "kotaku.com": SiteInfo("Kotaku"), "latimes.com": SiteInfo("Los Angeles Times"), "lithub.com": SiteInfo("Literary Hub"), + "lwn.net": SiteInfo("LWN"), "medium.com": SiteInfo("Medium", show_author=True), "melmagazine.com": SiteInfo("MEL Magazine"), "mozilla.org": SiteInfo("Mozilla"), @@ -105,6 +106,7 @@ SITE_INFO_BY_DOMAIN = { "politico.com": SiteInfo("Politico"), "politico.eu": SiteInfo("Politico Europe"), "polygon.com": SiteInfo("Polygon"), + "popsci.com": SiteInfo("Popular Science"), "propublica.org": SiteInfo("ProPublica"), "psmag.com": SiteInfo("Pacific Standard"), "quantamagazine.org": SiteInfo("Quanta Magazine"), @@ -112,6 +114,7 @@ SITE_INFO_BY_DOMAIN = { "reddit.com": SiteInfo("reddit", content_type=None), "reuters.com": SiteInfo("Reuters"), "rockpapershotgun.com": SiteInfo("Rock Paper Shotgun"), + "rollingstone.com": SiteInfo("Rolling Stone"), "sciencemag.org": SiteInfo("Science"), "seattletimes.com": SiteInfo("The Seattle Times"), "seriouseats.com": SiteInfo("Serious Eats"), @@ -125,6 +128,7 @@ SITE_INFO_BY_DOMAIN = { "steamcommunity.com": SiteInfo("Steam"), "steampowered.com": SiteInfo("Steam", content_type=None), "stratechery.com": SiteInfo("Stratechery"), + "substack.com": SiteInfo("Substack", show_author=True), "techcrunch.com": SiteInfo("TechCrunch"), "techdirt.com": SiteInfo("Techdirt"), "technologyreview.com": SiteInfo("MIT Technology Review"), @@ -132,7 +136,9 @@ SITE_INFO_BY_DOMAIN = { "teenvogue.com": SiteInfo("Teen Vogue"), "telegraph.co.uk": SiteInfo("The Telegraph"), "theatlantic.com": SiteInfo("The Atlantic"), + "thebaffler.com": SiteInfo("The Baffler"), "theconversation.com": SiteInfo("The Conversation"), + "thecorrespondent.com": SiteInfo("The Correspondent"), "thedrive.com": SiteInfo("The Drive"), "theguardian.com": SiteInfo("The Guardian"), "thehill.com": SiteInfo("The Hill"),