Last active
May 14, 2024 03:00
-
-
Save iuridiniz/b2269c466402940f4d0b38ccbfe7785d to your computer and use it in GitHub Desktop.
Script para gerar uma lista.m3u com os links para os vídeo de dragon ball kai dublados
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
for i in $(seq 1 1 180); do | |
[ $i -eq "1" ] && echo "#EXTM3U" | |
[ $i -lt "10" ] && i="0$i" | |
URL="http://149.56.20.132/Upload/Animes/D/dragon-ball-kai-re-exibicao/$i.mp4" | |
curl -I "$URL" 2>/dev/null | grep '200 OK' >/dev/null | |
if [ "$?" -eq "0" ]; then | |
echo "#EXTINF:-1 tvg-logo=\"http://tinyurl.com/jkfqj2m\" group-title=\"Dragon Ball Z KAI LEG\",1x$i Dragon Ball Z KAI" | |
echo $URL | |
fi | |
done | tee lista.m3u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
for i in $(seq 1 1 100); do | |
[ $i -eq "1" ] && echo "#EXTM3U" | |
[ $i -lt "10" ] && i="0$i" | |
URL="http://149.56.20.132/Upload/Animes/D/dragon-ball-kai-dublado/$i.MP4" | |
curl -I "$URL" 2>/dev/null | grep '200 OK' >/dev/null | |
if [ "$?" -eq "0" ]; then | |
echo "#EXTINF:-1 tvg-logo=\"http://tinyurl.com/jkfqj2m\" group-title=\"Dragon Ball Z KAI DUB\",1x$i Dragon Ball Z KAI" | |
echo $URL | |
fi | |
done | tee lista.m3u |
Fli453545
commented
Apr 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment