Imagefap Downloader
A script that downloads an entire imagefap gallery - vaginessa/Imagefap-Downloader. Vaginessa / Imagefap-Downloader. Pull requests 0. Projects 0 Insights Dismiss Join GitHub today. GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Usage (Command Line) Syntax for gallery_get: python gallery_get.py python gallery_get.py [URL-OF-GALLERY] python gallery_get.py [URL-OF-GALLERY] [DEST] Syntax for reddit_get: python reddit_get.py python reddit_get.py [REDDIT-USERNAME] python reddit_get.py [REDDIT-USERNAME] [DEST] If you call with no parameters, you’ll be prompted for the gallery URL (for gallery_get) or reddit user (for reddit_get). You will also be prompted for a destination directory, which it will remember as the default for next time. If you skip [DEST] it will look for the contents of last_gallery_dest.txt, falling back on the current working directory. Notes If you run gallery_get or reddit_get on the same URL/user and destination more than once, it will skip the already-existing images next time (unless the size has changed).
This allows you to do incremental updates. 3d modeli futbolistov. Gallery_get comes with a few “plugins” customized for certain sites, along with a generic fallback plugin that works on multiple galleries. Note that galleries will change their markup from time to time, so these plugins may need to be updated to catch up with such changes. (Which brings us to the next section). Testing I’ve provided a testing suite called gallery_get_test.py that will run gallery_get/reddit_get with provided URLs and users. Options are as follows: --noprompt don't prompt for extra galleries --input=INPUT_PATH input CSV for testing (same format as output) INPUT_PATH defaults to gallery_get_test_input.csv (provided) The output is gallery_get_test_output.csv To add a new gallery/user to the test: • run gallery_get_test.py • enter your gallery/user • repeat step 2 for additional galleries/users • if the output looks ok, replace gallery_get_test_input.csv with gallery_get_test_output.csv.