Giter VIP home page Giter VIP logo

linky's Introduction

linky

linky is a work-in-progress command-line tool which can search the internet for movies and TV shows hosted on 1-click hosting websites like OpenLoad (full list of supported hosters coming soon).

linky integrates tightly with JDownloader and can send any URL (or multiple URLs as a comma-separated list) to a JDownloader "device" via the my.jdownloader.org API or to a pyLoad instance.

At the moment, linky uses the Orion API to find links which requires an app key. To acquire an app key, you must sign up for an Orion account and register for an app key via their registration form.

Installation

To install linky:

# clone this repository
git clone https://github.com/Igglybuff/linky.git && cd linky

# install it with pip
pip3 install .

# test that it installed correctly
linky --help

Usage

Configuration

By default, linky looks for ~/.config/linky/linky.conf for configuration. For example, to configure JDownloader, pyLoad, and Orion:

[client jdownloader]
default = true
email = [email protected]
password = foobar123
device_id = 12345678

[client pyload]
hostname = localhost
port = 8000
username = pyload
password = pyload
ssl = false

[indexer orion]
user_key = ABCDEFGHIJ123456
app_key = KLMNOPQRS789012

MyJDownloader

Sign up for an account and sign in to it on your JDownloader client(s). You can find your client's device ID by clicking on it on the MyJDownloader website and reading the deviceId= URL parameter in your address bar.

Searching for links

Only OpenLoad links are returned at the moment, but there are plans to enable setting different sources in the future.

Basic keyword search

linky search --hosters openload --indexer orion --media-type movie "White Boy Rick"

IMDB ID search with 10 results

linky search --hosters openload --indexer orion --query-type imdb --media-type movie --results 10 "5519340"

TMDB ID search for 720p only

linky search -w openload -i orion -t tmdb -m movie -q hd1080 -r 6 "424694"

Sending links to JDownloader

linky push --link "<url>" --downloader jdownloader

Searching and sending a link to JDownloader

linky push --link $(linky search --indexer orion "White Boy Rick") --downloader jdownloader

Checking the status of your downloads

linky status --downloader jdownloader

Planned features

All subcommands:

  • Implement a more convenient way of searching and pushing in the same command
  • Implement taking a comma-separated list of URLs as input
  • Implement the --silence feature to suppress informational log output
  • Implement pyLoad integration
  • Implement human-readable output as a default with --json as an optional alternative (and maybe --pretty-print too)

linky search:

  • Implement a --results option to print the first n URLs returned from Orion API as a comma-separated list
  • Implement a --hosters option to set the 1-click-host source
  • Implement a --query-type option to override the default keyword search, e.g. to search by IMDB/TVDB/TMDB ID.
  • Implement a --quality option to set the preferred video quality to return
  • Implement an --age option to set the maximum number of days since the link was added to the indexer

linky push:

  • Implement a way to print info about pushed links including package ID and file name

linky status:

  • Implement --all option to output a report for everything in your download manager (this is the default now)
  • Implement a main argument to get the status of a specific package/download by file name
  • Implement an --id option to get the status of a package by ID
  • Implement human-readable output to print % completed, total size, download speed, and name

linky's People

Contributors

igglybuff 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.