Initial commit

This commit is contained in:
cpinte 2024-07-18 10:36:32 +02:00
commit 28bea466dc

13
indexdl.sh Executable file
View file

@ -0,0 +1,13 @@
#!/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