Browse Source

Add more SiteInfo entries for common sites

merge-requests/88/head
Deimos 5 years ago
parent
commit
8412e44488
  1. 11
      tildes/tildes/lib/site_info.py

11
tildes/tildes/lib/site_info.py

@ -52,11 +52,14 @@ SITE_INFO_BY_DOMAIN = {
"businessinsider.com": SiteInfo("Business Insider"),
"buzzfeednews.com": SiteInfo("BuzzFeed News"),
"cbc.ca": SiteInfo("CBC"),
"cbssports.com": SiteInfo("CBS Sports"),
"citylab.com": SiteInfo("CityLab"),
"cjr.org": SiteInfo("Columbia Journalism Review"),
"cnbc.com": SiteInfo("CNBC"),
"cnet.com": SiteInfo("CNET"),
"cnn.com": SiteInfo("CNN"),
"currentaffairs.org": SiteInfo("Current Affairs"),
"deadline.com": SiteInfo("Deadline"),
"dev.to": SiteInfo("DEV"),
"dw.com": SiteInfo("DW"),
"eater.com": SiteInfo("Eater"),
@ -80,8 +83,10 @@ SITE_INFO_BY_DOMAIN = {
"independent.co.uk": SiteInfo("The Independent"),
"jacobinmag.com": SiteInfo("Jacobin"),
"justice.gov": SiteInfo("US Department of Justice"),
"kickstarter.com": SiteInfo("Kickstarter", show_author=True, content_type=None),
"kotaku.com": SiteInfo("Kotaku"),
"latimes.com": SiteInfo("Los Angeles Times"),
"lithub.com": SiteInfo("Literary Hub"),
"medium.com": SiteInfo("Medium", show_author=True),
"melmagazine.com": SiteInfo("MEL Magazine"),
"mozilla.org": SiteInfo("Mozilla"),
@ -95,6 +100,7 @@ SITE_INFO_BY_DOMAIN = {
"nymag.com": SiteInfo("New York Magazine"),
"nytimes.com": SiteInfo("The New York Times"),
"outsideonline.com": SiteInfo("Outside"),
"pcgamer.com": SiteInfo("PC Gamer"),
"pinknews.co.uk": SiteInfo("PinkNews"),
"politico.com": SiteInfo("Politico"),
"politico.eu": SiteInfo("Politico Europe"),
@ -107,6 +113,7 @@ SITE_INFO_BY_DOMAIN = {
"reuters.com": SiteInfo("Reuters"),
"rockpapershotgun.com": SiteInfo("Rock Paper Shotgun"),
"sciencemag.org": SiteInfo("Science"),
"seattletimes.com": SiteInfo("The Seattle Times"),
"seriouseats.com": SiteInfo("Serious Eats"),
"sfchronicle.com": SiteInfo("San Francisco Chronicle"),
"si.com": SiteInfo("Sports Illustrated"),
@ -117,9 +124,12 @@ SITE_INFO_BY_DOMAIN = {
"spacenews.com": SiteInfo("SpaceNews"),
"steamcommunity.com": SiteInfo("Steam"),
"steampowered.com": SiteInfo("Steam", content_type=None),
"stratechery.com": SiteInfo("Stratechery"),
"techcrunch.com": SiteInfo("TechCrunch"),
"techdirt.com": SiteInfo("Techdirt"),
"technologyreview.com": SiteInfo("MIT Technology Review"),
"ted.com": SiteInfo("TED"),
"teenvogue.com": SiteInfo("Teen Vogue"),
"telegraph.co.uk": SiteInfo("The Telegraph"),
"theatlantic.com": SiteInfo("The Atlantic"),
"theconversation.com": SiteInfo("The Conversation"),
@ -155,6 +165,7 @@ SITE_INFO_BY_DOMAIN = {
"wired.com": SiteInfo("WIRED"),
"wordpress.com": SiteInfo("WordPress", show_author=True),
"wsj.com": SiteInfo("The Wall Street Journal"),
"yahoo.com": SiteInfo("Yahoo"),
"youtube.com": SiteInfo(
"YouTube", show_author=True, content_type=TopicContentType.VIDEO
),

Loading…
Cancel
Save