Move api.sh to src/load.sh

This commit is contained in:
freearhey 2023-10-10 11:00:51 +03:00
parent 37edcb7e45
commit 1770eb9927
2 changed files with 2 additions and 1 deletions

11
src/load.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
mkdir -p src/data
curl -L -o src/data/blocklist.json https://iptv-org.github.io/api/blocklist.json
curl -L -o src/data/categories.json https://iptv-org.github.io/api/categories.json
curl -L -o src/data/channels.json https://iptv-org.github.io/api/channels.json
curl -L -o src/data/streams.json https://iptv-org.github.io/api/streams.json
curl -L -o src/data/countries.json https://iptv-org.github.io/api/countries.json
curl -L -o src/data/languages.json https://iptv-org.github.io/api/languages.json
curl -L -o src/data/regions.json https://iptv-org.github.io/api/regions.json
curl -L -o src/data/subdivisions.json https://iptv-org.github.io/api/subdivisions.json