Merge pull request #160 from dunefox/patch-1

Added "jpeg" as file format to be downloaded
This commit is contained in:
Ali Parlakçı
2020-10-12 15:54:44 +03:00
committed by GitHub

View File

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