diff --git a/scripts/commands/api/load.sh b/scripts/commands/api/load.sh new file mode 100755 index 00000000..00b0a62a --- /dev/null +++ b/scripts/commands/api/load.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +mkdir -p scripts/data +curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json +curl -L -o scripts/data/countries.json https://iptv-org.github.io/api/countries.json +curl -L -o scripts/data/regions.json https://iptv-org.github.io/api/regions.json +curl -L -o scripts/data/subdivisions.json https://iptv-org.github.io/api/subdivisions.json \ No newline at end of file