Change from bay.parazy.de to bitreich.org/bay, but TODO due to clownflare. - 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
---
DIR commit 5dc5013f3457e8c25c430a3d998886c390a0a3c9
DIR parent df8733f8859e33a997a8f757f1b9cc7435a2d450
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Thu, 1 Jan 2026 12:35:01 +0100
Change from bay.parazy.de to bitreich.org/bay, but TODO due to clownflare.
Diffstat:
M annna-message-common | 22 +++++++++-------------
M imdb2gopherbay | 2 +-
M themoviedb2gopherbay | 2 +-
3 files changed, 11 insertions(+), 15 deletions(-)
---
DIR diff --git a/annna-message-common b/annna-message-common
@@ -169,21 +169,17 @@ case "${IRC_PRIVMSG_TEXT}" in
nocuri=0;;
*imgur.com/*) nuris="$(youtube-dl -g "${uri}")" || nuris="";;
*xkcd.com/*) nuris="$(xkcd-uri "${uri}")";;
- *imdb.com/title/*)
- imdbstr="$(imdb2gopherbay "${uri}")"
- if [ -n "${imdbstr}" ];
- then
- nuris="${imdbstr}"
- urititle=""
- fi;;
- # bay.parazy.de is unmaintained
+ # TODO: Fix apibay.org from being fooled by clownflare.
+ #*imdb.com/title/*)
+ # imdbstr="$(imdb2gopherbay "${uri}")"
+ # if [ -n "${imdbstr}" ];
+ # then
+ # nuris="${imdbstr}"
+ # urititle=""
+ # fi;;
#*themoviedb.org/movie/*)
# movietitle="$(themoviedb2gopherbay "${uri}" | sed 's, ,+,g')"
- # if [ -n "${movietitle}" ];
- # then
- # nuris="gophers://bay.parazy.de:666/1/q.dcgi?${movietitle}"
- # fi
- # ;;
+ # [ -n "${movietitle}" ] && nuris="${movietitle}";;
*lichess.org/????????|*lichess.org/????????/|*lichess.org/????????/black|*lichess.org/????????/white)
nuris="$(printf "%s\n" "${uri}" \
| sed 's,https://lichess.org\(/[^ ]*\)$,\1,; s,^/\([^/]*\)/black$,/black/\1,; s,/white,,; s,\(.*\),https://lichess1.org/game/export/gif\1.gif,;')"
DIR diff --git a/imdb2gopherbay b/imdb2gopherbay
@@ -53,7 +53,7 @@ $1 == ".name" { name = $3; uriname = gensub(" ", "+", "g", $3); }
$1 == ".aggregateRating.ratingValue" { rating = $3; }
$1 == ".datePublished" { published = substr($3, 1, 4); }
END {
- printf("gopher://bay.parazy.de:666/1/q.dcgi?%s | %s (%s) from %s, rating: %s: %s\n",
+ printf("gophers://bitreich.org/1/bay/search/%s | %s (%s) from %s, rating: %s: %s\n",
uriname, name, type, published, rating, description);
}'
DIR diff --git a/themoviedb2gopherbay b/themoviedb2gopherbay
@@ -14,5 +14,5 @@ title="$(curl -s "${imdburi}" \
[ -z "${title}" ] && exit 1
-printf "%s\n" "${title}"
+printf "gophers://bitreich.org/1/bay/search/%s\n" "${title}"