[Queue-Script] PasswordDetector - stop dl of protected .rar
Posted: 17 Aug 2014, 02:16
PasswordDetector is a queue script that checks for passwords inside of every .rar file of a NZB downloaded. This means that it can detect password protected NZB's very early before downloading is complete, allowing the NZB to be automatically deleted or paused. Detecting early saves data, time, resources, etc.
Settings
Once NZB found password protected, PasswordDetector can either:
This script is written by a joined force of forum members including:
Old
Settings
Once NZB found password protected, PasswordDetector can either:
- mark bad the NZB, where the download is aborted, marked as bad and processed by duplicate handling (if active). All pp-scripts are executed as well. If option DeleteCleanupDisk is active in NZBGet the downloaded files are deleted, which deletes the NZB and informs post processing scripts, e.g. call another NZB; or
- pause the NZB, awaiting user action, e.g. so a password can be defined later. If a NZB found password protected and allowed to resume, password detection is skipped to allow the download to complete.
- if NZBGet finds a password in NZB metatag, detection is skipped automatically;
- if the user manually adds a password for a given NZB via the web ui (Postprocess), detection is skipped;
- if the user manually enables/disables PasswordDetector for a given NZB via the web ui (Postprocess);
- earlier scripts can define password (e.g. [Scan-Script] pfftn) and PasswordDetector cancels detection;
- detect only for certain categories, via the CategoryX.PostScript option (CATEGORIES settings page); or
- detect for all downloads by default, via the QueueScript option (EXTENSION SCRIPTS settings page)
- NZBGet v14 r1094+
- Python 2.x; may not work with Python 3.x.
- May have a noticeable effect on performance during downloads
- It is based off another queue script, FakeDetector. They are both independent; you need both to detect for fakes and passwords.
- Tested on a 256MB Model B Raspberry Pi running Raspbain
This script is written by a joined force of forum members including:
- Clinton Hall;
- JVM;
- hugbug;
- get39678;
- prinz2311;
- Copy to NZBGet's scripts folder;
- choose the script in option QueueScript and/or PostScript;
- configure and save script options;
Old