Giter Site home page Giter Site logo

parallel-downloader's Introduction

parallel-downloader

$ python paralleldownloder.py -h
usage: paralleldownloder.py [-h] [--parallel PARALLEL] [--proxy-file PROXY]
                            [--user-agents-file UA] [--urls-file URLS]

Parallel Downloader supports proxy-file and user-agents-file. For each url in
urls.txt, this script will download it with a random selected http proxy and a
random selected user agent. It will retry 3 times until download succeed,
Otherwise failed url will be logged into failed_urls.log.

optional arguments:
  -h, --help            show this help message and exit
  --parallel PARALLEL   parallel download, default is 4
  --proxy-file PROXY    proxy file like sqlmap, random selected, default proxy.txt
  --user-agents-file UA user agents file like sqlmap, random selected, default user-agents.txt
  --urls-file URLS      urls to download, one url per line, default urls.txt

Notice: please change the save file logic for processing url to generate filename and save path issue for your case.

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.