| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This is a project to allow device to device offline caching of files from streaming/music sites
Wraps the youtube_dl library under the Bitcoin Machine payments protocol for off-chain sales
Supports the following sites
Here's the full client call
python3 download21client.py <link-to-video> <method-of-extraction> <format> [optional: specific-host] example: python3 download21client.py https://www.youtube.com/watch?v=GjO4hp4YxYM download/video mp4 http://10.244.53.126:5000/
Let's go through these options in depth.
link-to-video - Any supported video link will work here method-of-extraction - This is either "download/audio" or "download/video" format - common audio/video formats (mp3, mp4, wav, avi...) can be used here
Ensure you have 21 installed and follow along to get started
The only dependency is youtube_dl which can be downloaded like so
sudo pip3 install youtube-dl
git clone https://github.com/bitstopco/download21.git cd download21
In order, we are cloning a copy of this repository. It will be placed in the current folder under a new folder called 'download21'
We are then moving to the download21 folder to verify we have a 'client' and 'server' folder
cd server python3 download21.py
In order, we are moving to the server directory and launching the server.
Congrats, you're serving up files, anyone can now use your web server.
In order to simplify the operations, we packaged a demo version of the client that will extract some sample files
These files will be extracted from your own server.
sudo chmod 777 /download21/client cd /download21/client python3 download21client.py sample
This will download one youtube video as mp4, one youtube video as mp3 and one soundcloud file as mp3
Here's the full client call
python3 download21client.py <link-to-video> <method-of-extraction> <format> [optional: specific-host] example: python3 download21client.py https://www.youtube.com/watch?v=GjO4hp4YxYM download/video mp4 http://110.244.53.126/5000/
Let's go through these options in depth.
link-to-video - Any supported video link will work here method-of-extraction - This is either "download/audio" or "download/video" format - common audio/video formats (mp3, mp4, wav, avi...) can be used here
This repo is open source (CC0 except for youtube_dl segments)!
Please use, reuse, and modify these files as you see fit.
Distributed as-is; no warranty is given.
Open to pull requests for task list items or additional side features.
| Back | FazBrowse Home | New Git URL |