Git Product home page Git Product logo

ifdl's Introduction

ifdl

A Python script to retrieve all image links from an ImageFap gallery.

This builds on the original project and adds the following functionality:

  1. Instead of creating the links and putting them into the clipboard, this will save the links to an HTML file.
  2. You can drag/open the HTML file with a browser.
  3. You can use your download software to fetch the images from the links. I tested with downloadthemall and it works well.
  4. There is a progress bar that might be helpful in the case of large image sets.
  5. Libraries needed: A. urllib.request: This library is part of Python's standard library and is used for making HTTP requests. B. time: This library is part of Python's standard library and is used for time-related functions, including sleep to introduce delays. C. numpy: It's an external library for numerical computing and is used here to generate random sleep times. D. datetime: Part of Python's standard library, it's used for working with date and time information. E. tqdm: This is an external library for creating progress bars. You can install it using pip: pip install tqdm

Requirements for the script

Install the required libaries using: pip install urllib3 numpy time datetime tqdm.

Using the script

The script ImageFapLinkGen3.py can be run from any machine with Python installed correctly.

Notes

Original Notes:

  • When using the script (ifdl.py), the bot detection prevention can be tweeked. The average time between requests is 2 seconds, because bot detection caught on when 1 second was used.
  • When a 302 error occurs, open a new browser window and visit the gallery page to complete a reCAPTCHA.
  • The executable keeps getting flagged as virus, so I took it down for the moment.

ifdl's People

Contributors

esthreals avatar readydave avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.