Browse Source

Add SiteInfo entries for more common sites

merge-requests/87/merge
Deimos 5 years ago
parent
commit
39449dd776
  1. 15
      tildes/tildes/lib/site_info.py

15
tildes/tildes/lib/site_info.py

@ -40,7 +40,9 @@ SITE_INFO_BY_DOMAIN = {
"aljazeera.com": SiteInfo("Al Jazeera"),
"animenewsnetwork.com": SiteInfo("Anime News Network"),
"apnews.com": SiteInfo("Associated Press"),
"appleinsider.com": SiteInfo("AppleInsider"),
"arstechnica.com": SiteInfo("Ars Technica"),
"atlasobsura.com": SiteInfo("Atlas Obscura"),
"axios.com": SiteInfo("Axios"),
"bandcamp.com": SiteInfo("Bandcamp", content_type=None),
"bbc.co.uk": SiteInfo("BBC"),
@ -52,13 +54,17 @@ SITE_INFO_BY_DOMAIN = {
"citylab.com": SiteInfo("CityLab"),
"cnbc.com": SiteInfo("CNBC"),
"cnn.com": SiteInfo("CNN"),
"currentaffairs.org": SiteInfo("Current Affairs"),
"dev.to": SiteInfo("DEV"),
"dw.com": SiteInfo("DW"),
"eater.com": SiteInfo("Eater"),
"eurogamer.net": SiteInfo("Eurogamer"),
"forbes.com": SiteInfo("Forbes"),
"gamasutra.com": SiteInfo("Gamasutra"),
"github.com": SiteInfo("GitHub", show_author=True, content_type=None),
"gizmodo.com": SiteInfo("Gizmodo"),
"gq.com": SiteInfo("GQ"),
"hackernoon.com": SiteInfo("Hacker Noon"),
"hpe.com": SiteInfo("Hewlett Packard Enterprise"),
"huffpost.com": SiteInfo("HuffPost"),
"imgur.com": SiteInfo("Imgur", content_type=TopicContentType.IMAGE),
@ -75,6 +81,7 @@ SITE_INFO_BY_DOMAIN = {
"npr.org": SiteInfo("NPR"),
"nymag.com": SiteInfo("New York Magazine"),
"nytimes.com": SiteInfo("The New York Times"),
"outsideonline.com": SiteInfo("Outside"),
"pinknews.co.uk": SiteInfo("PinkNews"),
"polygon.com": SiteInfo("Polygon"),
"propublica.org": SiteInfo("ProPublica"),
@ -92,16 +99,24 @@ SITE_INFO_BY_DOMAIN = {
"smh.com.au": SiteInfo("The Sydney Morning Herald"),
"soundcloud.com": SiteInfo("SoundCloud", show_author=True, content_type=None),
"spacenews.com": SiteInfo("SpaceNews"),
"steamcommunity.com": SiteInfo("Steam"),
"steampowered.com": SiteInfo("Steam", content_type=None),
"techcrunch.com": SiteInfo("TechCrunch"),
"techdirt.com": SiteInfo("Techdirt"),
"technologyreview.com": SiteInfo("MIT Technology Review"),
"telegraph.co.uk": SiteInfo("The Telegraph"),
"theatlantic.com": SiteInfo("The Atlantic"),
"theconversation.com": SiteInfo("The Conversation"),
"thedrive.com": SiteInfo("The Drive"),
"theguardian.com": SiteInfo("The Guardian"),
"thehill.com": SiteInfo("The Hill"),
"theinformation.com": SiteInfo("The Information"),
"theoutline.com": SiteInfo("The Outline"),
"theverge.com": SiteInfo("The Verge"),
"threadreaderapp.com": SiteInfo(
"Twitter (via Thread Reader)", content_type=TopicContentType.TWEET
),
"time.com": SiteInfo("TIME"),
"twitter.com": SiteInfo(
"Twitter", show_author=True, content_type=TopicContentType.TWEET
),

Loading…
Cancel
Save