A library written in Perl to download videos from webpages which provides programs for users with this function. Currently the programs are a cli utility peertube-dl and a webpage peertube-dl-hynotoad
Go to file
2021-01-12 16:06:02 +01:00
bin Added youtube support at webpage. 2021-01-09 04:06:55 +01:00
javascript_interpreter_xs Added youtube support. 2021-01-09 03:55:59 +01:00
lib/Peertube fix: Avoiding loading forever on unsupported url. 2021-01-12 16:01:13 +01:00
src Adding initial javascript interpreter to be able to support youtube as video backend. 2021-01-06 07:53:32 +01:00
t Adding a little web still a little ugly to be able to download videos without using the command line. 2020-12-29 06:33:37 +01:00
.proverc Adding ability to use the program as module and tests. 2020-12-29 02:29:42 +01:00
AUTHORS Adding Ale to AUTHORS file. 2021-01-11 14:11:34 +01:00
cpanfile Added youtube support. 2021-01-09 03:55:59 +01:00
Dockerfile feat: Added debian dockerfile. (Thanks Ale.) 2021-01-11 14:06:28 +01:00
LICENSE Initial commit 2020-12-26 02:59:55 +01:00
Makefile.PL Adding support for lstring. 2021-01-06 20:47:33 +01:00
MANIFEST Adding support for lstring. 2021-01-06 20:47:33 +01:00
README.md Added better extension support on youtube. 2021-01-10 00:03:21 +01:00

Peertube-dl

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

animeflv.cc

kjanime.net

youtube.com (Video only in webpage, all formats on cli.)

Installation

Localized install with cpanminus.

sudo apt install cpanminus ducktape-dev
cpanm . --installdeps
cpanm .

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

Windows

You should use Cywgin, Strawberry perl or WSL to be able to use this software in Windows and then follow one of the two procedures given before to GNU/Linux.

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 then install this program using the install with cpanminus.

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.

Usage

peertube-dl <Supported url>

You can assume the supported urls are the ones which have a media player.

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.

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.

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 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.