Browse Source

Add more SiteInfo entries for common sites

merge-requests/88/head
Deimos 5 years ago
parent
commit
2a8a1d4ba0
  1. 10
      tildes/tildes/lib/site_info.py

10
tildes/tildes/lib/site_info.py

@ -47,11 +47,13 @@ SITE_INFO_BY_DOMAIN = {
"bandcamp.com": SiteInfo("Bandcamp", content_type=None),
"bbc.co.uk": SiteInfo("BBC"),
"bbc.com": SiteInfo("BBC"),
"bellingcat.com": SiteInfo("Bellingcat"),
"bloomberg.com": SiteInfo("Bloomberg"),
"businessinsider.com": SiteInfo("Business Insider"),
"buzzfeednews.com": SiteInfo("BuzzFeed News"),
"cbc.ca": SiteInfo("CBC"),
"citylab.com": SiteInfo("CityLab"),
"cjr.org": SiteInfo("Columbia Journalism Review"),
"cnbc.com": SiteInfo("CNBC"),
"cnn.com": SiteInfo("CNN"),
"currentaffairs.org": SiteInfo("Current Affairs"),
@ -75,6 +77,8 @@ SITE_INFO_BY_DOMAIN = {
"hpe.com": SiteInfo("Hewlett Packard Enterprise"),
"huffpost.com": SiteInfo("HuffPost"),
"imgur.com": SiteInfo("Imgur", content_type=TopicContentType.IMAGE),
"independent.co.uk": SiteInfo("The Independent"),
"jacobinmag.com": SiteInfo("Jacobin"),
"justice.gov": SiteInfo("US Department of Justice"),
"kotaku.com": SiteInfo("Kotaku"),
"latimes.com": SiteInfo("Los Angeles Times"),
@ -82,6 +86,7 @@ SITE_INFO_BY_DOMAIN = {
"melmagazine.com": SiteInfo("MEL Magazine"),
"mozilla.org": SiteInfo("Mozilla"),
"nasa.gov": SiteInfo("NASA"),
"nationalgeographic.com": SiteInfo("National Geographic"),
"nature.com": SiteInfo("Nature"),
"nbcnews.com": SiteInfo("NBC News"),
"newsweek.com": SiteInfo("Newsweek"),
@ -91,6 +96,8 @@ SITE_INFO_BY_DOMAIN = {
"nytimes.com": SiteInfo("The New York Times"),
"outsideonline.com": SiteInfo("Outside"),
"pinknews.co.uk": SiteInfo("PinkNews"),
"politico.com": SiteInfo("Politico"),
"politico.eu": SiteInfo("Politico Europe"),
"polygon.com": SiteInfo("Polygon"),
"propublica.org": SiteInfo("ProPublica"),
"psmag.com": SiteInfo("Pacific Standard"),
@ -122,6 +129,7 @@ SITE_INFO_BY_DOMAIN = {
"theinformation.com": SiteInfo("The Information"),
"theoutline.com": SiteInfo("The Outline"),
"theparisreview.org": SiteInfo("Paris Review"),
"theregister.co.uk": SiteInfo("The Register"),
"theringer.com": SiteInfo("The Ringer"),
"theverge.com": SiteInfo("The Verge"),
"threadreaderapp.com": SiteInfo(
@ -140,8 +148,10 @@ SITE_INFO_BY_DOMAIN = {
"Vimeo", show_author=True, content_type=TopicContentType.VIDEO
),
"vox.com": SiteInfo("Vox"),
"vulture.com": SiteInfo("Vulture"),
"washingtonpost.com": SiteInfo("The Washington Post"),
"who.int": SiteInfo("World Health Organization"),
"wikipedia.org": SiteInfo("Wikipedia"),
"wired.com": SiteInfo("WIRED"),
"wordpress.com": SiteInfo("WordPress", show_author=True),
"wsj.com": SiteInfo("The Wall Street Journal"),

Loading…
Cancel
Save