indexdl/indexdl.sh
2024-07-18 10:36:32 +02:00

13 lines
228 B
Bash
Executable file

#!/bin/bash
#Get all mp4 mkv from an html
function indexdl(){
wget "$1" -q -O - | grep -Po "(?<=href=\")[^^\"]*[mp4|mkv]" > temp.txt
while read -r file; do
wget $1$file
done < temp.txt
}
indexdl $1