Fix small bugs
This commit is contained in:
parent
88f5ed6780
commit
8438ddc3dd
@ -16,4 +16,4 @@
|
||||
<meta property="og:description" content="{{ desc }}" />
|
||||
|
||||
<link rel="alternate" href="{{ host }}/oembed.json?desc={{ urlUser }}&user=Twitter&link={{ link }}&ttype=link&provider={{ appname|urlencode }}" type="application/json+oembed" title="{{ user['name'] }}">
|
||||
<meta http-equiv="refresh" content="1; url = {{ tweetLink }}" /> {% endblock %} {% block body %} Redirecting you to the tweet in a moment. <a href="{{ link }}">Or click here.</a> {% endblock %}
|
||||
<meta http-equiv="refresh" content="1; url = {{ link }}" /> {% endblock %} {% block body %} Redirecting you to the tweet in a moment. <a href="{{ link }}">Or click here.</a> {% endblock %}
|
@ -229,7 +229,7 @@ def twitfix(sub_path):
|
||||
# get first subpath
|
||||
username=sub_path.split("/")[0]
|
||||
extra = sub_path.split("/")[1]
|
||||
if extra in [None,"with_replies","media","likes","highlights","superfollows","media"] and username != "" and username != None:
|
||||
if extra in [None,"with_replies","media","likes","highlights","superfollows","media",''] and username != "" and username != None:
|
||||
userData = getUserData(f"https://twitter.com/{username}")
|
||||
if isApiRequest:
|
||||
if userData is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user