Not meant for external use but free for any to download and play with, functionality is not guaranteed until version 1.0. Project is discontinued, project will be redesigned to not use selenium and HandyImage and be fully command line based.
Redesigned version -> https://github.com/Jeffchen54/SKK-Downloader-v2
Description: Project used to play around with python and download from Sankaku while bypassing numerous methods employed by Sankaku. Method is slower than other mass downloaders and only compatible with https://chan.sankakucomplex.com/?tags=rating%3Asafe&commit=Search
Functionality:
- Downloads all images, videos, and flash games from a given page while bypassing download prevention methods. Downloads up to 2000 files (100 page limit)
- Sets post id as downloaded file filenames
- Ignores previous downloaded photos (if they were downloaded using this program)
- Custom directory
- Pause execution between downloads by pressing and holding "alt"
Requirements:
- Selenium-python for Firefox: https://selenium-python.readthedocs.io/installation.html
- urllib3: https://pypi.org/project/urllib3/
- Python (ran on 3.10): https://www.microsoft.com/en-us/p/python-310/9pjpw5ldxlz5?activetab=pivot:overviewtab
- Firefox: https://www.mozilla.org/en-US/firefox/new/
- Tampermonkey addon for Firefox: https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/
- Handyimage script enabled in Tampermonkey: https://sleazyfork.org/en/scripts/109-handy-image/code
- Windows 10 (may work on other versions but tested only on Windows 10
ImageOpener(0.6) 4/17/2022
- Ability to pause or terminate execution between downloads
- Use post ids as filename
- Advanced checking of duplicate files by name
- Added time running
ImageOpener(0.5) 4/17/2022
- Added .swf download functionality
- Removed all flags as they did not apply for selenium functionality
General update 4/17/2022
- Removed all unused files from repo
ImageOpener(0.4) 4/17/2022
- Added .mp4 download functionality
- Added skip which skips number of urls equal to number of files in download directory (will be replaced)
- Added strategy to counter endless page errors by closing and reopening selenium browser
- Now downloads up to 2000 files with no issues
ImageOpener(0.3) 4/16/2022:
- Added save functionality exploiting XPATH of image tabs
- Changed tab system to a maximum of a single tab at a time
- Basic functionality now possible (non mp4 and non flash)
ImageOpener(0.2) 4/15/2022:
- Converted project to use Selinium for huge performance boost
- Added initiator for selinium using custom Firefox profile
- Automatic scrolling for image link harvesting
- Improved tab opening (Extract links directly instead of manual clicking)
- Added multiple flags, including demo and debug modes
- Slowdown/error screen detection and resolution detection As of now, ImageOpener is not functional
Features to add ImageOpener(TBA):
- Bypass for 2000 file limit
- Optional logging to file
- Multithreading support
- Much more efficient duplicate item pruning (currently is linear search but closed hash table or some tree/radix sort hybrid using prefix of file extension (postid) will be a huge improvement)
- Link save state
- Verify save folder path and selection while program is executing
- Set program to always minimize with switches
- Basic GUI
Features to add in general:
- Guide to download and setup downloader