backup
This commit is contained in:
parent
b24306e41c
commit
9882627df1
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
title=$(curl -sL "$1" | grep -om1 '<title>.*<\/title>' \
|
||||||
|
| sed -e s/'<[\/]*title>'//g \
|
||||||
|
-e s/'''/"'"/g \
|
||||||
|
-e s/'"'/'"'/g \
|
||||||
|
-e s/'–'/'-'/g \
|
||||||
|
-e s/'&'/'&'/g \
|
||||||
|
-e s/' '/' '/g)
|
||||||
|
[[ "$title" != "" ]] && echo -e "\x1f\00032Title\x1f\03: \x02$title\x02"
|
||||||
|
|
Loading…
Reference in New Issue