|
|
@ -35,14 +35,59 @@ class SiteInfo: |
|
|
|
|
|
|
|
|
|
|
|
SITE_INFO_BY_DOMAIN = { |
|
|
|
"abc.net.au": SiteInfo("ABC"), |
|
|
|
"aeon.co": SiteInfo("Aeon"), |
|
|
|
"apnews.com": SiteInfo("Associated Press"), |
|
|
|
"arstechnica.com": SiteInfo("Ars Technica"), |
|
|
|
"bandcamp.com": SiteInfo("Bandcamp", content_type=None), |
|
|
|
"bbc.co.uk": SiteInfo("BBC"), |
|
|
|
"bbc.com": SiteInfo("BBC"), |
|
|
|
"bloomberg.com": SiteInfo("Bloomberg"), |
|
|
|
"buzzfeednews.com": SiteInfo("BuzzFeed News"), |
|
|
|
"cbc.ca": SiteInfo("CBC"), |
|
|
|
"citylab.com": SiteInfo("CityLab"), |
|
|
|
"cnbc.com": SiteInfo("CNBC"), |
|
|
|
"cnn.com": SiteInfo("CNN"), |
|
|
|
"dw.com": SiteInfo("DW"), |
|
|
|
"eurogamer.net": SiteInfo("Eurogamer"), |
|
|
|
"github.com": SiteInfo("GitHub", show_author=True, content_type=None), |
|
|
|
"hpe.com": SiteInfo("Hewlett Packard Enterprise"), |
|
|
|
"imgur.com": SiteInfo("Imgur", content_type=TopicContentType.IMAGE), |
|
|
|
"kotaku.com": SiteInfo("Kotaku"), |
|
|
|
"medium.com": SiteInfo("Medium", show_author=True), |
|
|
|
"mozilla.org": SiteInfo("Mozilla"), |
|
|
|
"nbcnews.com": SiteInfo("NBC News"), |
|
|
|
"newyorker.com": SiteInfo("The New Yorker"), |
|
|
|
"npr.org": SiteInfo("NPR"), |
|
|
|
"nytimes.com": SiteInfo("The New York Times"), |
|
|
|
"polygon.com": SiteInfo("Polygon"), |
|
|
|
"propublica.org": SiteInfo("ProPublica"), |
|
|
|
"psmag.com": SiteInfo("Pacific Standard"), |
|
|
|
"qz.com": SiteInfo("Quartz"), |
|
|
|
"reddit.com": SiteInfo("reddit", content_type=None), |
|
|
|
"reuters.com": SiteInfo("Reuters"), |
|
|
|
"slate.com": SiteInfo("Slate"), |
|
|
|
"smh.com.au": SiteInfo("The Sydney Morning Herald"), |
|
|
|
"soundcloud.com": SiteInfo("SoundCloud", show_author=True, content_type=None), |
|
|
|
"techcrunch.com": SiteInfo("TechCrunch"), |
|
|
|
"theatlantic.com": SiteInfo("The Atlantic"), |
|
|
|
"theconversation.com": SiteInfo("The Conversation"), |
|
|
|
"theguardian.com": SiteInfo("The Guardian"), |
|
|
|
"thehill.com": SiteInfo("The Hill"), |
|
|
|
"theverge.com": SiteInfo("The Verge"), |
|
|
|
"twitter.com": SiteInfo( |
|
|
|
"Twitter", show_author=True, content_type=TopicContentType.TWEET |
|
|
|
), |
|
|
|
"variety.com": SiteInfo("Variety"), |
|
|
|
"vice.com": SiteInfo("VICE"), |
|
|
|
"vimeo.com": SiteInfo( |
|
|
|
"Vimeo", show_author=True, content_type=TopicContentType.VIDEO |
|
|
|
), |
|
|
|
"vox.com": SiteInfo("Vox"), |
|
|
|
"washingtonpost.com": SiteInfo("The Washington Post"), |
|
|
|
"wired.com": SiteInfo("WIRED"), |
|
|
|
"wordpress.com": SiteInfo("WordPress", show_author=True), |
|
|
|
"wsj.com": SiteInfo("The Wall Street Journal"), |
|
|
|
"youtube.com": SiteInfo( |
|
|
|
"YouTube", show_author=True, content_type=TopicContentType.VIDEO |
|
|
|
), |
|
|
|