Browse Source

Add SiteInfo for Medium (medium.com)

merge-requests/85/head
Deimos 5 years ago
parent
commit
fb429ce8b8
  1. 3
      tildes/tildes/lib/site_info.py

3
tildes/tildes/lib/site_info.py

@ -35,6 +35,9 @@ class SiteInfo:
SITE_INFO_BY_DOMAIN = { SITE_INFO_BY_DOMAIN = {
"medium.com": SiteInfo(
"Medium", show_author=True, content_type=TopicContentType.ARTICLE
),
"twitter.com": SiteInfo( "twitter.com": SiteInfo(
"Twitter", show_author=True, content_type=TopicContentType.TWEET "Twitter", show_author=True, content_type=TopicContentType.TWEET
), ),

Loading…
Cancel
Save