Merge pull request #40 from fhrach4/add-all-images-endpoint

add /all as an alternate method of creating a composite image of all images in a tweet
This commit is contained in:
Dylan
2022-11-10 13:45:36 +00:00
committed by GitHub

View File

@@ -78,7 +78,7 @@ def twitfix(sub_path):
else:
print(" ➤ [ R ] Redirect to MP4 using d.fxtwitter.com")
return dir(sub_path)
elif request.url.startswith("https://c.vx"):
elif request.url.startswith("https://c.vx") or request.url.endswith('/all'):
twitter_url = sub_path
if match.start() == 0: