based.recipe - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- based.recipe (312B) --- 1 #!/bin/sh 2 3 baseuri="https://based.cooking/" 4 5 hurl "${baseuri}" \ 6 | grep "^<li><a href=\"[a-zA-Z0-9-]*.html\"" \ 7 | sed 's,.*a href="\([a-zA-Z0-9-]*.html\)">\(.*\)</a></li>$,\1\t\2,g' \ 8 | shuf -n 1 \ 9 | while read -r htmluri recipename; 10 do 11 printf "%s ( %s%s )\n" "${recipename}" "${baseuri}" "${htmluri}" 12 done 13