1
0
Fork 0
mirror of synced 2024-06-29 11:30:30 +12:00

Added "jpeg" as file format to be downloaded

This commit is contained in:
Phil Fox 2020-10-12 14:50:32 +02:00 committed by GitHub
parent 2ba763e03b
commit f9ac4f925b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -342,7 +342,7 @@ def extractDirectLink(URL):
if not, return False
"""
imageTypes = ['jpg','png','mp4','webm','gif']
imageTypes = ['jpg','jpeg','png','mp4','webm','gif']
if URL[-1] == "/":
URL = URL[:-1]