Revert last fix
This commit is contained in:
parent
2b64a4ec77
commit
0dfe5e0c7e
@ -64,8 +64,6 @@ def twitfix(sub_path):
|
|||||||
|
|
||||||
user_agent = request.headers.get('user-agent')
|
user_agent = request.headers.get('user-agent')
|
||||||
match = pathregex.search(sub_path)
|
match = pathregex.search(sub_path)
|
||||||
if match is not None:
|
|
||||||
sub_path = match.group(0)
|
|
||||||
|
|
||||||
if request.url.endswith(".mp4") or request.url.endswith("%2Emp4"):
|
if request.url.endswith(".mp4") or request.url.endswith("%2Emp4"):
|
||||||
twitter_url = "https://twitter.com/" + sub_path
|
twitter_url = "https://twitter.com/" + sub_path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user