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:
commit
c8fdd5096e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user