Revert last fix

This commit is contained in:
Dylan 2023-07-02 15:07:20 +01:00
parent 2b64a4ec77
commit 0dfe5e0c7e

View File

@ -64,8 +64,6 @@ def twitfix(sub_path):
user_agent = request.headers.get('user-agent')
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"):
twitter_url = "https://twitter.com/" + sub_path