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
commit c6b06ac3c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ def twitfix(sub_path):
else: else:
print(" ➤ [ R ] Redirect to MP4 using d.fxtwitter.com") print(" ➤ [ R ] Redirect to MP4 using d.fxtwitter.com")
return dir(sub_path) 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 twitter_url = sub_path
if match.start() == 0: if match.start() == 0: