Now buecher.de URLs work with specials

This commit is contained in:
a3x 2020-11-19 23:53:17 +00:00
parent cb819a8a84
commit a3eb573316

View file

@ -5,8 +5,8 @@ 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/.*$num/$num/g" | sed -e "s/\($num.*\)<\/td><td>\(.*\)$/\1<del>\2<nl>/g" -e 's/ /<space>/g' | grep "$num") #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")
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' | grep -v table |sed -e 's/.*span><\/td//g' -e 's/.*<\/tr><tr><td>//g' -e 's/<\/td><td>/ /g' -e 's/\(.*\) \([^ ]*\)/\1<del>\2<nl>/g' -e 's/ /<space>/g')
echo $curl echo $curl
metadata() metadata()