All Projects → maysrp → Tald

maysrp / Tald

Licence: apache-2.0
使用Aria2作为后端 通过视频来 采集视频作为自己的视频网站:ThinkPHP Aria2 Libav Dplayer

Labels

Projects that are alternatives of or similar to Tald

Negibox
All in one downloader 全能下载器
Stars: ✭ 335 (+385.51%)
Mutual labels:  aria2
Maria
a macOS native app/widget for aria2 download tool.
Stars: ✭ 618 (+795.65%)
Mutual labels:  aria2
Baidupcs Nodes
百度网盘节点 Nodes of BaiduPCS
Stars: ✭ 15 (-78.26%)
Mutual labels:  aria2
Aria2.js
JavaScript library for aria2, "The next generation download utility."
Stars: ✭ 471 (+582.61%)
Mutual labels:  aria2
Animetrackerlist
动漫磁性链接加速方案(animeTrackerList)
Stars: ✭ 572 (+728.99%)
Mutual labels:  aria2
Aria Ng Gui
一个 Aria2 图形界面客户端 | An Aria2 GUI for Windows & Linux & MacOS
Stars: ✭ 741 (+973.91%)
Mutual labels:  aria2
Kikoplay
KikoPlay - NOT ONLY A Full-Featured Danmu Player 不仅仅是全功能弹幕播放器
Stars: ✭ 313 (+353.62%)
Mutual labels:  aria2
Php Aria2
Talking with aria2 through JSON-RPC
Stars: ✭ 58 (-15.94%)
Mutual labels:  aria2
Pixivuserbatchdownload
P站画师个人作品批量下载工具,UserScript + Aria2。可高度自定义重命名,发送到本地或远程(如路由器)下载。
Stars: ✭ 603 (+773.91%)
Mutual labels:  aria2
Aria2 Pro Docker
Aria2 Pro | A perfect Aria2 Docker image | 更好用的 Aria2 Docker 容器镜像
Stars: ✭ 802 (+1062.32%)
Mutual labels:  aria2
Persepolis
Persepolis Download Manager is a GUI for aria2.
Stars: ✭ 5,218 (+7462.32%)
Mutual labels:  aria2
Safari2aria
safari extension for use aria2 to replace safari default download
Stars: ✭ 563 (+715.94%)
Mutual labels:  aria2
Ccaa
Linux一键安装Aria2 + AriaNg + FileBrowse实现离线下载、文件管理。
Stars: ✭ 756 (+995.65%)
Mutual labels:  aria2
Openiothub
💖A free IoT (Internet of Things) platform and private cloud. [一个免费的物联网和私有云平台,支持内网穿透]
Stars: ✭ 371 (+437.68%)
Mutual labels:  aria2
Ariang
AriaNg, a modern web frontend making aria2 easier to use.
Stars: ✭ 8,339 (+11985.51%)
Mutual labels:  aria2
Baidu Netdisk Downloaderx
⚡️ 一款图形界面的百度网盘不限速下载器,支持 Windows、Linux 和 Mac。
Stars: ✭ 17,390 (+25102.9%)
Mutual labels:  aria2
Motrix
A full-featured download manager.
Stars: ✭ 29,357 (+42446.38%)
Mutual labels:  aria2
Torrent To Google Drive Downloader
Simple notebook to stream torrent files to Google Drive using Google Colab and python3.
Stars: ✭ 63 (-8.7%)
Mutual labels:  aria2
Aria2gui
Aria2GUI for macOS
Stars: ✭ 7,931 (+11394.2%)
Mutual labels:  aria2
Trackerslistcollection
🎈 Updated daily! A list of popular BitTorrent Trackers! / 每天更新!全网热门 BT Tracker 列表!
Stars: ✭ 9,761 (+14046.38%)
Mutual labels:  aria2

TALD

###环境

  • Linux
  • PHP >5.3 PHP<=5.6 [PHP 请在php.ini中开启scandir exec函数]
  • Mysql
  • Aria2
  • Livav 视频截图 [若使用FFMPEG请将OndoAction.class.php 中的 avconv 换成 ffmpeg]
  • Apache [Nginx请配置 pathinfo ]

###定时进程

定时进程详请

/Index/Lib/Action/OndoAction.class.php

Ondo下面公共方法

  • spider 采集
  • curl 获取下载状况
  • curl_video 更新发布视频
  • curl_image 获取截图
  • union 联合上面全部 [需要耗时较多,PHP建议运行时间调到600s]

定时进程配置

crontab -e
*/10 * * * * curl http://your_domain/index.php/Ondo/spider
*/10 * * * * curl http://your_domain/index.php/Ondo/curl
*/10 * * * * curl http://your_domain/index.php/Ondo/curl_video
*/10 * * * * curl http://your_domain/index.php/Ondo/curl_image

或者简易版本

*/10 * * * * curl http://your_domain/index.php/Ondo/union

权限

需要777权限的文件夹

  • /image
  • /video #若选择NEW,则不需要该文件夹。[OndoAction.class.php 里面 111行 和112行 选择其中一种,不要的那个注释掉,默认为old]
  • /download #若选择NEW,则该文件夹下文件权限必须可写[默认则不需要]
  • /Index/Runtime

数据库

/Index/Conf/config.php

danmu.sql 导入你的数据库中

###后台

http://your_domain/index.php/Admin/login

后台文件 /Index/Lib/Action/AdminAction.class.php

默认: admin 233

界面以及功能

back.png

可以加载全部视频对其删除管理

back_guizhe.png

可以添加采集中的规则,每个规则可以匹配多个关键词,关键词间请用空格风格开。

back_a.png Aria2后台,可以自行添加下载地址[人工添加不会触发规则请放心加入],后台下载完成后会自动检索出MP4视频文件发布。

验证登入

密码 :: JavaScript md5() ->服务器上 PHP::md5(md5($pass).$salt)

管理视频

进入后台 管理视频时候请注意了 如果采用old 方法时删除视频不带删除 源视频,即/download下的视频将会保持。

采集

/Index/Lib/Action/OndoAction.class.php -放弃吧少年-

采集本次中并未列出,需要大家自己添加,

sxp()中可以使用PHPQuery分析网页,取出其中的下载信息$info,也可以用其他程序导入数据。[请自行设计] $info中只要提交3个值

  • $info['type']: 类型 取自你采集的页面中,用于初步判断,如果你采集的页面没有的话请将133行改中if判断改成true。
  • $info['magnet']: 下载地址
  • $info['name']: 下载文件名 递交给 auto_download($info) 即可下载 。

spider() 用于调用sxp();[通过时间触发]

评论

可以使用多说 有言 等评论模块

/Index/Tpl/Public/comm.html 每个视频下显示评论

/Index/Tpl/Public/duo_top.html 首先显示最新评论[仅800分辨率以上的设备显示]

播放器

运用Dplayer,可以弹幕可以截图等非常强大。

请点击Dplayer查看相关搭建文档

感谢

Thinkphp 3.1.3 Php-aria2 Dplayer PHPQuery

==== 未完待续 ====

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].