From 39ec4f8ef121ca2bbb85efa6a54a23c3bbd53b43 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 26 Oct 2022 04:33:35 +0300 Subject: [PATCH] Create load.sh --- scripts/commands/api/load.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/commands/api/load.sh 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