2020-12-26 02:59:55 +01:00
|
|
|
# Peertube-dl
|
|
|
|
|
2020-12-26 03:04:37 +01:00
|
|
|
A little Perl program which downloads videos from some webpages.
|
|
|
|
|
|
|
|
Wants to be something similar to youtube-dl with support for some sites not acceptables under youtube-dl policies.
|
|
|
|
|
|
|
|
Of course the name means Peertube will be supported someday.
|
|
|
|
|
|
|
|
## Supported webpages:
|
|
|
|
|
|
|
|
animeflv.net
|
2020-12-26 03:52:11 +01:00
|
|
|
|
2020-12-26 03:04:37 +01:00
|
|
|
animeflv.cc
|
2020-12-26 03:52:11 +01:00
|
|
|
|
2021-01-04 04:41:46 +01:00
|
|
|
kjanime.net
|
|
|
|
|
2021-01-13 09:43:30 +01:00
|
|
|
youtube.com
|
2021-01-09 04:09:06 +01:00
|
|
|
|
2020-12-26 03:52:11 +01:00
|
|
|
## Installation
|
|
|
|
|
2020-12-26 04:22:03 +01:00
|
|
|
### Localized install with cpanminus.
|
|
|
|
|
|
|
|
```
|
2021-01-10 00:03:21 +01:00
|
|
|
sudo apt install cpanminus ducktape-dev
|
2020-12-26 04:22:03 +01:00
|
|
|
cpanm . --installdeps
|
|
|
|
cpanm .
|
|
|
|
```
|
|
|
|
|
2021-01-10 00:03:21 +01:00
|
|
|
### System install.
|
|
|
|
|
|
|
|
This requires you must seek for the dependencies yourself. (The contents from cpanfile + duktape-dev + ExtUtils::MakeMaker and then run:
|
|
|
|
|
|
|
|
```
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
```
|
|
|
|
|
2020-12-26 03:52:11 +01:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
`peertube-dl <Supported url>`
|
|
|
|
|
2020-12-26 03:55:05 +01:00
|
|
|
You can assume the supported urls are the ones which have a media player.
|
2020-12-26 03:52:11 +01:00
|
|
|
|
2020-12-30 05:30:51 +01:00
|
|
|
## Webpage
|
|
|
|
|
|
|
|
You can deploy a webpage using:
|
|
|
|
|
|
|
|
`peertube-dl-web daemon`
|
|
|
|
|
|
|
|
For testing or:
|
|
|
|
|
|
|
|
`peertube-dl-hypnotoad`
|
|
|
|
|
|
|
|
In production.
|
|
|
|
|
|
|
|
The environment variable support for PIDFILE makes easy to write an init script.
|
|
|
|
|
2020-12-26 03:52:11 +01:00
|
|
|
## Disclaimer
|
|
|
|
|
|
|
|
SEEING THE ADS TO SUPPORT THE JOB OF THE DISTRIBUTORS AND CONTENT CREATORS
|
|
|
|
ASSOCIATED WITH THESE PAGES IS CURRENTLY NOT SUPPORTED BUT CAN BE OPTIONAL
|
|
|
|
IN A FUTURE.
|
|
|
|
|
|
|
|
THIS SOFTWARE COMES WITH THE HOPE IT WILL BE USEFUL BUT WITHOUT ANY WARRANTY.
|
|
|
|
|
|
|
|
A COPY OF THE LICENSE WHICH APPLIES FOR THIS SOFTWARE (AGPLV3) CAN BE FOUND IN
|
|
|
|
THE LICENSE FILE.
|
|
|
|
|
2020-12-26 03:57:34 +01:00
|
|
|
IF YOU RUN ANY PART OF THIS CODE AS A SERVICE OR DISTRIBUTE IT YOU MUST CONVEY
|
|
|
|
THE SOURCE CODE IN A HUMAN READABLE FORM TO THE DISTRIBUTEE OR USER.
|
2020-12-26 05:26:36 +01:00
|
|
|
|
|
|
|
## COPYRIGHT
|
|
|
|
|
|
|
|
© 2020 Sergio Iglesias and people listed on AUTHORS, if you submit a commit for
|
|
|
|
the first time add yourself to that file. Leave a Matrix address so I can reach
|
|
|
|
you for possible changes in the license, like a possible upgrade to a newer version
|
|
|
|
of AGPL.
|