Browse Source

Add more SiteInfo entries for common sites

merge-requests/88/head
Deimos 5 years ago
parent
commit
7e5aa833ae
  1. 9
      tildes/tildes/lib/site_info.py

9
tildes/tildes/lib/site_info.py

@ -59,11 +59,14 @@ SITE_INFO_BY_DOMAIN = {
"dw.com": SiteInfo("DW"), "dw.com": SiteInfo("DW"),
"eater.com": SiteInfo("Eater"), "eater.com": SiteInfo("Eater"),
"eff.org": SiteInfo("Electronic Frontier Foundation"), "eff.org": SiteInfo("Electronic Frontier Foundation"),
"egmnow.com": SiteInfo("EGM"),
"eurogamer.net": SiteInfo("Eurogamer"), "eurogamer.net": SiteInfo("Eurogamer"),
"fastcompany.com": SiteInfo("Fast Company"),
"fivethirtyeight.com": SiteInfo("FiveThirtyEight"), "fivethirtyeight.com": SiteInfo("FiveThirtyEight"),
"forbes.com": SiteInfo("Forbes"), "forbes.com": SiteInfo("Forbes"),
"ftc.gov": SiteInfo("Federal Trade Commission"), "ftc.gov": SiteInfo("Federal Trade Commission"),
"gamasutra.com": SiteInfo("Gamasutra"), "gamasutra.com": SiteInfo("Gamasutra"),
"gamesindustry.biz": SiteInfo("GamesIndustry.biz"),
"github.com": SiteInfo("GitHub", show_author=True, content_type=None), "github.com": SiteInfo("GitHub", show_author=True, content_type=None),
"gizmodo.com": SiteInfo("Gizmodo"), "gizmodo.com": SiteInfo("Gizmodo"),
"gq.com": SiteInfo("GQ"), "gq.com": SiteInfo("GQ"),
@ -76,6 +79,7 @@ SITE_INFO_BY_DOMAIN = {
"kotaku.com": SiteInfo("Kotaku"), "kotaku.com": SiteInfo("Kotaku"),
"latimes.com": SiteInfo("Los Angeles Times"), "latimes.com": SiteInfo("Los Angeles Times"),
"medium.com": SiteInfo("Medium", show_author=True), "medium.com": SiteInfo("Medium", show_author=True),
"melmagazine.com": SiteInfo("MEL Magazine"),
"mozilla.org": SiteInfo("Mozilla"), "mozilla.org": SiteInfo("Mozilla"),
"nasa.gov": SiteInfo("NASA"), "nasa.gov": SiteInfo("NASA"),
"nature.com": SiteInfo("Nature"), "nature.com": SiteInfo("Nature"),
@ -101,6 +105,7 @@ SITE_INFO_BY_DOMAIN = {
"si.com": SiteInfo("Sports Illustrated"), "si.com": SiteInfo("Sports Illustrated"),
"slate.com": SiteInfo("Slate"), "slate.com": SiteInfo("Slate"),
"smh.com.au": SiteInfo("The Sydney Morning Herald"), "smh.com.au": SiteInfo("The Sydney Morning Herald"),
"smithsonianmag.com": SiteInfo("Smithsonian"),
"soundcloud.com": SiteInfo("SoundCloud", show_author=True, content_type=None), "soundcloud.com": SiteInfo("SoundCloud", show_author=True, content_type=None),
"spacenews.com": SiteInfo("SpaceNews"), "spacenews.com": SiteInfo("SpaceNews"),
"steamcommunity.com": SiteInfo("Steam"), "steamcommunity.com": SiteInfo("Steam"),
@ -116,15 +121,19 @@ SITE_INFO_BY_DOMAIN = {
"thehill.com": SiteInfo("The Hill"), "thehill.com": SiteInfo("The Hill"),
"theinformation.com": SiteInfo("The Information"), "theinformation.com": SiteInfo("The Information"),
"theoutline.com": SiteInfo("The Outline"), "theoutline.com": SiteInfo("The Outline"),
"theparisreview.org": SiteInfo("Paris Review"),
"theringer.com": SiteInfo("The Ringer"),
"theverge.com": SiteInfo("The Verge"), "theverge.com": SiteInfo("The Verge"),
"threadreaderapp.com": SiteInfo( "threadreaderapp.com": SiteInfo(
"Twitter (via Thread Reader)", content_type=TopicContentType.TWEET "Twitter (via Thread Reader)", content_type=TopicContentType.TWEET
), ),
"time.com": SiteInfo("TIME"), "time.com": SiteInfo("TIME"),
"tortoisemedia.com": SiteInfo("Tortoise"),
"twitter.com": SiteInfo( "twitter.com": SiteInfo(
"Twitter", show_author=True, content_type=TopicContentType.TWEET "Twitter", show_author=True, content_type=TopicContentType.TWEET
), ),
"usatoday.com": SiteInfo("USA Today"), "usatoday.com": SiteInfo("USA Today"),
"vanityfair.com": SiteInfo("Vanity Fair"),
"variety.com": SiteInfo("Variety"), "variety.com": SiteInfo("Variety"),
"vice.com": SiteInfo("VICE"), "vice.com": SiteInfo("VICE"),
"vimeo.com": SiteInfo( "vimeo.com": SiteInfo(

Loading…
Cancel
Save