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

Loading…
Cancel
Save