mirror of https://gitlab.com/bashrc2/epicyon
Also replace the mobile twitter domain
parent
aaf7f299fa
commit
79151137a7
4
media.py
4
media.py
|
@ -86,7 +86,9 @@ def replace_twitter(post_json_object: {}, replacement_domain: str,
|
|||
"""Replace Twitter with a replacement domain
|
||||
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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue