-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't unzip some zip files #925
Comments
Looks like I have the same issue. Did not yet found out the exact zip, but I have a node project that fails building using the latest version 3.10.1. I tested with several versions and found out, that must be a change from v3.3.0 to v3.4.0 that causes the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently, there are some zip files that the library is unable to unzip? I tested them with Winrar and it worked...
On the website https://subdl.com/subtitle/sd20172/white-chicks
Both files below can't be unzipped by the library for some reason
English (Dvdrip)
White.Chicks.DVDRip.XViD-DvP (by: Sinistral)
White Chicks [Eng No Subtitles] [DVDrip] (by: uttamyadav)
`
// ==UserScript==
// @name Zip Extractor - SubDL
// @namespace https://greasyfork.org/en/users/
// @Version 1
// @description Automatically extract the subtitle file before downloading
// @author me
// @match https://subdl.com/subtitle/*
// @require https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js
// @grant none
// ==/UserScript==
(function() {
'use strict';
let pendingDownloadUrl = null; //Variable to store the URL of the pending download URL
document.addEventListener('mousedown', function(event) { //Listen for clicks on the page
pendingDownloadUrl = event.target.href; //Capture the download URL
}); //Finishes the mousedown event listener
document.addEventListener('click', function(event) { // Intercept clicks on the page
if (pendingDownloadUrl) { //If the element clicked was a link
event.preventDefault(); //Prevent the default .zip file download
});
})();
`
The text was updated successfully, but these errors were encountered: