1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

merge #3571: [bunkr] Fix extracting mkv and ts files

This commit is contained in:
Mike Fährmann 2023-01-26 12:05:59 +01:00
commit c8fdd5096e
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -75,7 +75,8 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor):
headers = {"Referer": root.replace("://", "://stream.", 1) + "/"}
for file in files:
if file["file"].endswith(
(".mp4", ".m4v", ".mov", ".webm", ".zip", ".rar", ".7z")):
(".mp4", ".m4v", ".mov", ".webm", ".mkv", ".ts",
".zip", ".rar", ".7z")):
file["_http_headers"] = headers
file["file"] = file["file"].replace(
"://cdn", "://media-files", 1)