mirror of
https://github.com/anthonyaxenov/iptv.git
synced 2024-11-25 06:44:25 +00:00
18 lines
399 B
Bash
Executable File
18 lines
399 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#################################################
|
|
#
|
|
# IPTV Playlist download tool
|
|
#
|
|
# Usage:
|
|
# ./download-all.sh
|
|
#
|
|
# All playlists from playlists.ini will be
|
|
# downloaded in ./files directory
|
|
#
|
|
#################################################
|
|
|
|
mkdir files && \
|
|
cd files && \
|
|
grep -P "pls='(.*)'" ../playlists.ini | sed "s/^pls=//g" | sed "s/'//g" | tr -d '\r' | xargs wget
|