Coder Social home page Coder Social logo

artisin / premiumizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piejanssens/premiumizer

1.0 1.0 0.0 4.92 MB

Download manager for premiumize.me cloud downloads

License: MIT License

Python 63.17% HTML 24.34% CSS 2.51% JavaScript 8.64% Smarty 0.86% Dockerfile 0.39% Shell 0.10%

premiumizer's Introduction

Premiumizer

Premiumizer is a download management tool for premiumize.me cloud downloads.

  • Web interface to manage premiumize.me downloads: cloud Torrent & Nzb and Filehosts links
  • Category based automatic downloader of finished cloud tasks to local file system
  • Picks up new taks through black hole
  • Integrates with nzbToMedia (post processing)

About premiumize.me

Premiumize.me combines anonymous cloud torrent downloads, usenet and premium hosters in one subscription. Cloud torrent downloads are cached, meaning if some other premiumize.me member downloaded the torrent through premiumize.me before, you can immediately download the files from that torrent over HTTPS at top speeds.

Get your account right here.

How does this thing work?

This tool will monitor your download tasks on premiumize.me. Once the download in the cloud finishes and the download task has a category that needs to be automatically downloaded premiumizer will start downloading all the files to your local premiumizer server. Download tasks without a category will not be automatically downloaded to the local server. You can add/change a category whilst it's downloading through the web interface, but third party tools like CouchPotato and SickRage will automatically submit download tasks with a specific category.

When enabled, premiumizer can inform nzbToMedia whenever the local download is finished. Categories can be setup through the web interface's setup page.

Web Interface

By default, premiumizer's web interface listens on port 5000. When premiumizer is running you can access it at http://localhost:5000/

Installation

Requirements

Required: Git & Python 3.7 (with pip) Optional: virtualenv & NzbToMedia version 10.14 & higher

Synology

Follow Docker instructions.

Windows

Installer

PremiumizerInstaller

Open services.msc & edit Premiumizer service to logon using your account that is an administrator.

Manual

  1. Install Git & select: "Use git from the windows command prompt".
  2. Download Python
  3. Open cmd.exe
$ git clone https://github.com/piejanssens/premiumizer.git premiumizer
$ pip.exe install virtualenv
$ virtualenv premiumizer\env
$ env\Scripts\activate.bat
$ pip install -r requirements.txt
$ python premiumizer.py

Unix / macOS

  1. Install Python 3.7 (e.g. using brew)
  2. Open Terminal
$ brew install python3
$ git clone https://github.com/piejanssens/premiumizer.git premiumizer
$ cd premiumizer
$ pip install virtualenv
$ virtualenv -p /usr/local/bin/python3 env
$ source env/bin/activate
$ pip install -r requirements.txt
$ python premiumizer/premiumizer.py

Docker

General

You need to set the correct PUID and PGID equal to the user that has rw access to the mounted volumes.

docker run -d -p 5000:5000 -e TZ=Europe/London -e PUID=1000 -e PGID=1000 -v <host_path>:/premiumizer/conf -v <host_path>:/blackhole -v <host_path>:/downloads piejanssens/premiumizer:latest

Synology DSM

  1. Create a folder using File Station where Premiumizer can store its config and logs (e.g. /volume1/docker/premiumizer)
  2. Identify (or create) the locations for blackhole and downloads that Premiumizer will use
  3. SSH into your syno and figure out the PUID and PGID of the user that has access to these folders
  4. Open Docker app
  5. Under 'Registry': Download the piejanssens/premiumizer image
  6. Under 'Image': Select the image and click 'launch'
  7. Map a port of your chosing to '5000' (e.g. Chosing 5555 to 5000, means your Premiumizer will be accessible through 5555)
  8. Map your blackhole folder to '/blackhole'
  9. Map your downloads folder to '/downloads'
  10. Map your premiumizer conf folder to '/premiumizer/conf'
  11. Set the following environment variables -- PUID (see step 3.) -- PGID (see step 3.) -- TZ (e.g. Europe/London)
Updating
  1. Under 'Container': Stop the container
  2. Under 'Container': Action -> Clear
  3. Under 'Registry': Download the piejanssens/premiumizer image (this will pull in the latest image)
  4. Under 'Container': Start the container

Updating

Update from the settings page / enable automatic updates Update button & changes will be displayed when an update is available.

Settings

Once you can access the premiumizer web interface make sure you head over to the settings page.

Development

Want to contribute? Great! Just fork the github repo, do some awesome stuff and create a pull request.

Report issues or feature enhancements/requests on the Issues page

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.