REST API for scraping m3u/m3u8 playlists off websites by url
1.9K
This example uses host networking for simplicitly. Also note the -v argument. This directory will be used to output the resulting videos
sudo docker run -d --net="host" --name m3u-scraper shuaiscott/m3u-scraper
Downloads can be triggered by supplying the {{url}} of the requested video through the Web UI or through the REST interface via curl, etc.
Just navigate to http://{{address}}:9009/m3uscrape?url={{url}} and enter the requested {{url}}.
curl -X POST --data-urlencode "url={{url}}" http://{{address}}:9009/m3uscrape
The server uses bottle for the web framework
This docker image is based on python:3-alpine
There is now a start-up script that updates all pip libraries so you'll always have the latest version of youtube-dl. To update, just restart the docker container.
Content type
Image
Digest
Size
33.1 MB
Last updated
about 9 years ago
docker pull shuaiscott/m3u-scrape