Browse Source

Add more SiteInfo entries for common sites

merge-requests/89/head
Deimos 5 years ago
parent
commit
0d589f2493
  1. 6
      tildes/tildes/lib/site_info.py

6
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"),

Loading…
Cancel
Save