3 ms·
Gratuitous multimedia tricks. Here is a text-only version. Links to images in all available sizes are provided. curl https://rnz.shorthandstories.com/yogh
by 1vuio0pswjnm7 5y ago
Gratuitous multimedia tricks. Here is a text-only version. Links to images in all available sizes are provided.
curl https://rnz.shorthandstories.com/yoghurt-mafia/embed.js \
|sed 's/<em>//g;s/<\/em>//g'|tr -cd '[ -~]'|grep -Eo '(<p c.{10}[^>]*>)|(https://[^ ]*.jpeg)' \
|uniq|sed '/^https.*jpeg$/s/.*/<li><a href=&>&<\/a><\/li>/g' >1.htm;
firefox ./1.htm
- brigandish 5y agoMay I suggest a temp file? (and the other change is for a Mac) tmp=$(mktemp).htm; curl https://rnz.shorthandstories.com/yoghurt-mafia/embed.js \ | sed 's/<em>//g;s/<\/em>//g'| tr -cd '[ -~]'|grep -Eo '(<p c.{10}[^>]*>)|(https://[^ ]*.jpeg)' \ | uniq | sed '/^https.*jpeg$/s/.*/<li><a href=&>&<\/a><\/li>/g' > $tmp; open -a Firefox $tmp