Skip to main content

Grabber app to get meta-data or download the movie from Putlocker. Website Putlocker: http://putlockers.ch

Project description

https://img.shields.io/pypi/v/putlocker.svg?style=flat-square&label=version https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square https://img.shields.io/pypi/pyversions/putlocker.svg?style=flat-square https://img.shields.io/pypi/dm/putlocker.svg?style=flat-square

Grabber app to get meta-data or download the movie from Putlockers (http://putlockers.ch). I just hope this tool isn’t illegal.

If you are owner of http://putlockers.ch and if you hate with this tool, please contact us.

Installing

$ sudo pip install putlocker

Usage

usage: putlocker.py [-h] [-d] [-m] [-l LINK] [-f FOLDER]

Grabber app to get meta-data or download the movie from Putlocker.
Website Putlocker: http://putlockers.ch

optional arguments:
 -h, --help            show this help message and exit
 -d, --download        to direct download multiple videos.
 -m, --meta            to get print out meta data from movie.
 -l LINK, --link LINK  link detail movie from putlocker to be download/get meta data.
 -f FOLDER, --folder FOLDER
                       optional path/folder to save the movie.

Example

Download

$ sudo python putlocker.py -d -l=http://putlockers.ch/watch-alcoholist-online-free-putlocker.html -f=alcoholist
# OR
$ sudo python putlocker.py --download --link=http://putlockers.ch/watch-alcoholist-online-free-putlocker.html --folder=alcoholist

Get Meta Data

$ sudo python putlocker.py -m -l=http://putlockers.ch/watch-alcoholist-online-free-putlocker.html
# OR
$ sudo python putlocker.py --meta --link=http://putlockers.ch/watch-alcoholist-online-free-putlocker.html

Demo

Download

[+] Downloading the cover of movie...
[+] Downloading... http://185.45.15.210/i/01/00096/ozgurkbjg0mp.jpg
[==================================================] 16812 of 16812
[+] Downloading the tracks(srt) file...
[+] Downloading... http://thevideos.tv/srt/00096/6dw6cxtw7por_English.srt
[==================================================] 103 of 103
[+] Writing meta-data of movie...
[+] Downloading 1 / 3 videos....
[+] Downloading... http://185.45.15.210/4rugfadnwdc4aksautummkq/v.mp4
[==================================================] 223088833 of 223088833
[+] Downloading 2 / 3 videos....
[+] Downloading... http://185.45.15.210/4rugm4dnwdc4ak7g4fbp6sa/v.mp4
[=========================                         ] 228249600 of 440121604

Meta Data

{
  'duration': '6432',
  'sources': [
    {'file': 'http://185.45.15.210/4rugfadnwdc4aksautummkq/v.mp4', 'label': '240p'},
    {'file': 'http://185.45.15.210/4rugm4dnwdc4ak7g4fbp6sa/v.mp4', 'label': '360p'},
    {'file': 'http://185.45.15.210/4rugxzdnwdc4akumtmdspca/v.mp4', 'label': '720p'}],
  'image': 'http://185.45.15.210/i/01/00096/ozgurkbjg0mp.jpg',
  'tracks':
    {
      'kind': 'captions',
      'file': 'http://thevideos.tv/srt/00096/6dw6cxtw7por_English.srt',
      'label': 'English'
    }
}

License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

putlocker-1.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page