Code Monkey home page Code Monkey logo

multidl's Introduction

Build Status codecov

multidl

Download files from anywhere in parallel.

Demo

Demo

Description

With multidl, download multiple files in parallel from a single command line. multidl currently supports the following protocols:

  • local files
  • ftp
  • http
  • https

There is also a special treatment for the following platforms:

  • YouTube

Install

One simple command line:

python3 setup.py install

Usage

Gather the urls of the targeted files in a single configuration file:

http://example.com/file1.txt
https://megamovies.org/bestmovieever.mkv
ftp://me:[email protected]/dir/file2.txt

Then launch multidl:

multidl -c urls.txt -o downloads/

You can also give the targeted urls to multidl via stdin like so:

cat urls.txt | multidl -o downloads/

multidl's People

Contributors

julienc91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

multidl's Issues

Add support for simple regex in urls

Add the possibility to add urls like:

https://example.com/[0-9].jpg

The expected result is for the download manager to convert this url into 10 urls:

https://example.com/0.jpg
https://example.com/1.jpg
https://example.com/2.jpg
https://example.com/3.jpg
https://example.com/4.jpg
https://example.com/5.jpg
https://example.com/6.jpg
https://example.com/7.jpg
https://example.com/8.jpg
https://example.com/9.jpg

SyntaxError: invalid syntax on running multidl

Hello. I get the following error on using multidl. Please let me know what changes need to be made.

Traceback (most recent call last):
  File "/usr/local/bin/multidl", line 9, in <module>
    load_entry_point('multidl==0.1', 'console_scripts', 'multidl')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2229, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "build/bdist.linux-x86_64/egg/multidl/cli.py", line 7, in <module>
  File "/usr/local/lib/python2.7/dist-packages/multidl-0.1-py2.7.egg/multidl/download_manager.py", line 36
    print(*args, **kwargs)
          ^
SyntaxError: invalid syntax

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.