Also replace the mobile twitter domain

main
Bob Mottram 2022-02-28 13:36:32 +00:00
parent aaf7f299fa
commit 79151137a7
1 changed files with 4 additions and 2 deletions

View File

@ -86,7 +86,9 @@ def replace_twitter(post_json_object: {}, replacement_domain: str,
"""Replace Twitter with a replacement domain """Replace Twitter with a replacement domain
This allows you to view twitter posts without having a twitter account This allows you to view twitter posts without having a twitter account
""" """
_replace_silo_domain(post_json_object, 'twitter.com', twitter_domains = ('mobile.twitter.com', 'twitter.com')
for tw_domain in twitter_domains:
_replace_silo_domain(post_json_object, tw_domain,
replacement_domain, system_language) replacement_domain, system_language)