buecher.de grabbing should work now

This commit is contained in:
a3x 2020-07-25 00:33:06 +00:00
parent 0135d626af
commit cb819a8a84

View file

@ -5,7 +5,7 @@ num=$(echo "$1" | sed -e 's/.*- \(.*\) -.*/\1/')
path="/d/hd0/Hoerbuecher/podcasts/tkkg" path="/d/hd0/Hoerbuecher/podcasts/tkkg"
url=$2 url=$2
curl=$(curl "$url" | grep '<tbody><tr><td colspan="4" data-behavior="toggle-collapse">C' | sed 's/\([0-9][0-9]:[0-9][0-9]:[0-9][0-9]\)/\1\n/g' | sed -e 's/.*215/215/g' | sed -e 's/\(215.*\)<\/td><td>\(.*\)$/\1<del>\2<nl>/g' -e 's/ /<space>/g' | grep 215) curl=$(curl "$url" | grep '<tbody><tr><td colspan="4" data-behavior="toggle-collapse">C' | sed 's/\([0-9][0-9]:[0-9][0-9]:[0-9][0-9]\)/\1\n/g' | sed -e "s/.*$num/$num/g" | sed -e "s/\($num.*\)<\/td><td>\(.*\)$/\1<del>\2<nl>/g" -e 's/ /<space>/g' | grep "$num")
echo $curl echo $curl