Grabber应用程序获取元数据或从Putlocker下载电影。网站putlocker:http://putlockers.ch

putlocker的Python项目详细描述


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

Grabber应用程序从电脑储物柜(http://putlockers.ch)获取元数据或下载电影我只是希望这个工具不是非法的。

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

安装

$ sudo pip install putlocker

用法

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.

示例

下载

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

获取元数据

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

演示

下载

[+] 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

元数据

{
  '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'
    }
}

许可证

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用split函数分割字符串,但没有得到期望的结果   未找到包含derby数据库嵌入架构的sql Java桌面应用程序错误   java elasticsearch vs solr用于定制全文搜索系统   java Android:创建没有startOffset的动画延迟?   java如何查看其他应用程序接收的数据?   java如何在Linux中使用D和classpath选项运行jar文件   java和域设计最佳实践   具有相同内存位置的java数组,将显示为输出   连接到java中的elasticsearch?   Java Playframework重定向到带有Json负载的外部url   java无法在Android平台上使用InputStream为蓝牙socket创建ObjectInputStream   使用POI将Excel日期转换为Java日期,年份未正确显示   oracle从数据库层还是Java层调用webservice?