mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 12:12:34 +01:00
always provide lowercase fileextensions
This commit is contained in:
parent
7547d8be3f
commit
7fd284a705
@ -34,7 +34,7 @@ def nameext_from_url(url, data=None):
|
||||
data = {}
|
||||
data["filename"] = unquote(filename_from_url(url))
|
||||
data["name"], ext = os.path.splitext(data["filename"])
|
||||
data["extension"] = ext[1:]
|
||||
data["extension"] = ext[1:].lower()
|
||||
return data
|
||||
|
||||
def clean_path_windows(path):
|
||||
|
Loading…
Reference in New Issue
Block a user