Sign inSign up

davidquinonescl/pluto-tv-scraper

By davidquinonescl

•Updated 3 months ago

Docker image of https://github.com/4v3ngR/pluto_tv_scraper.

Image
Web servers
0

3.1K

davidquinonescl/pluto-tv-scraper repository overview

⁠pluto_tv_scraper-docker

This repo builds and Docker image of pluto_tv_scraper⁠.
The purpose is to make the deployment easier and more suitable for different environments.
As a result an m3u8 playlist and xmltv file will be generated for pluto TV.

The original repository of this image is hosted on https://git.claeyscloud.com/david/pluto_tv_scraper-docker⁠.
A public mirror is available at https://github.com/davidclaeysquinones/pluto_tv_scraper-docker⁠.

⁠Dependencies

Node⁠

The image is based on node:23-alpine in order to be more lightweight.

⁠Docker image

⁠Paths
⁠Config

The settings file is located under /config/config.json. Under the mapping section you can specify which IP adresses are used to obtain the channels in a certain country. By default some IP adresses are provided in the default configuration file, however these might not work over time. You can use ip2location by country⁠ and ip2location lookup⁠ to obtain an IP in a certain country.

For each country a .m3u8 and .xml file will be generated. The expected formats are plutotv_{country}.m3u8 and plutotv_{country}.xml. If you include more than one country in the mapping section plutotv_all.m3u8 and plutotv_all.xml also will be generated.

⁠Options:
VariableDescriptionDefault
outdirThe destination directory where the generated files will be stored./public
clientIDClient id used to connect to the server.00000000-0000-0000-0000-000000000000
allMerge all regions into a single playlist and epg.true
chnoStart channel numbering at the provided value, spans all regions.N/A
groupSpecify the grouping within the playlist.genre
regionalizeAppend the country code to the channel id.true
excludeGroupsExclude the groups that match the regular expression.
An example value could be ^Local News$, Español or (News|Español)
false
excludeChannelsExclude the channels that match the regular expression.false
uniqueClientidGenerate a unique id for each client requesting the playlist via the inbuilt server.true
randomClientidGenerate a random id for each request of the playlist via the the inbuilt server.true
refreshAutomatically refetch the files at the provided interval (in seconds).3600
xTvgUrlSpecify a custom x-tvg-url value in the EXTM3U header.false
⁠Compose file
version: '3.3'
services:
  epg:
    image: git.claeyscloud.com/david/pluto-tv-scraper:latest
    #image: ghcr.io/davidclaeysquinones/pluto-tv-scraper:latest
    #image: davidquinonescl/pluto-tv-scraper:latest
    volumes:
      # add a mapping in order to add a custom config file
      #- /docker/pluto:/config
    ports:
      - 5050:5050
    environment:
      # specify the time zone for the server
      - TZ=Etc/UTC
    restart: unless-stopped
⁠Versions
  • 1.0.0   1.1.21
  • 1.0.1   1.1.24
  • 1.0.2   1.1.24
    Update with an updated version that isn't published on the npm registry
  • 1.0.3   1.1.24
    Fixes the generated channels not being playable
  • 1.0.4   1.1.24
    Generated channels with V2 API and correct JWT implementaton
  • 1.0.5   1.1.24
    Url caching improvements
  • 1.0.6   1.1.24
    Addition of extra logging
  • 1.0.7   1.1.24
    Update node version and configuration

Tag summary

Content type

Image

Digest

sha256:da836124b…

Size

70.4 MB

Last updated

3 months ago

docker pull davidquinonescl/pluto-tv-scraper