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
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2020-12-26 04:22:03 +01:00
|
|
|
There is two alternative ways:
|
|
|
|
|
|
|
|
### System install
|
|
|
|
|
2020-12-26 05:12:16 +01:00
|
|
|
```shell
|
|
|
|
# Be aware the apt command applies to Debian/Ubuntu or other distributions using apt as their package manager.
|
|
|
|
# I am not adding instructions to every distro since they can difficult reading this document.
|
|
|
|
# You should use the equivalent packages for your distribution if you are not using a Debian-like distribution of GNU/Linux.
|
2020-12-26 05:01:48 +01:00
|
|
|
sudo apt install perl make libwww-perl liburi-encode-perl libjson-perl liblwp-protocol-https-perl
|
2020-12-26 03:52:11 +01:00
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
2020-12-26 04:22:03 +01:00
|
|
|
### Localized install with cpanminus.
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo apt install cpanminus
|
|
|
|
cpanm . --installdeps
|
|
|
|
cpanm .
|
|
|
|
```
|
|
|
|
|
2020-12-26 05:12:16 +01:00
|
|
|
### Windows
|
|
|
|
|
|
|
|
You should use Cywgin, Strawberry perl or WSL to be able to use this software in Windows.
|
|
|
|
|
|
|
|
I am not giving you a detailed instructions in that case given that I am not responsible
|
|
|
|
of your bad software choices in operative systems.
|
|
|
|
|
|
|
|
### MAC
|
|
|
|
|
|
|
|
Maybe you can use homebrew to get the prerequisites and run this program.
|
|
|
|
|
|
|
|
Again not detailed instructions since it is not my problem the defective by desing OS and
|
|
|
|
hardware you choose.
|
|
|
|
|
|
|
|
It is doable anyway if you want to give a try.
|
|
|
|
|
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
|
|
|
|
|
|
|
## 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.
|