Initial commit
This commit is contained in:
commit
28bea466dc
1 changed files with 13 additions and 0 deletions
13
indexdl.sh
Executable file
13
indexdl.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue