0
0
mirror of https://github.com/anthonyaxenov/iptv.git synced 2024-11-01 09:36:14 +00:00
iptv/tools/download-all.sh

18 lines
417 B
Bash
Raw Normal View History

2022-05-29 10:19:09 +00:00
#!/bin/bash
#################################################
#
# IPTV Playlist download tool
#
# Usage:
# ./download-all.sh
#
# All playlists from playlists.ini will be
# downloaded in ./downloaded directory
#
#################################################
mkdir -p downloaded && \
cd downloaded && \
grep -P "pls='(.*)'" ../playlists.ini | sed "s/^pls=//g" | sed "s/'//g" | tr -d '\r' | xargs wget