Introduction
Introduction Statistics Contact Development Disclaimer Help
Move gopherpedia converter to PDF api. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit fbd1b502fc925a00f37f06555b2ffdb527ea7682
parent bf8d287fae7aaae47200fe24e70fabd2cb838c64
Author: Annna Robert-Houdin <[email protected]>
Date: Wed, 26 Mar 2025 17:34:49 +0100
Move gopherpedia converter to PDF api.
Diffstat:
M annna-message-common | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -250,11 +250,11 @@ case "${text}" in
#nuris="nitter: ${nuri}"
nocuri=0
;;
- *en.wikipedia.org/wiki*)
+ *.wikipedia.org/wiki/*)
if ! regeximatch "$uri" '\.(jpg,bmp,gif,png,tiff,avi,mp4,webm,…
then
- nuri="$(printf '%s\n' "${uri}" | sed -e "s;.*en.wikipe…
- nuris="$(printf 'gopherpedia: %s\n' "${nuri}")"
+ nuri="$(printf '%s\n' "${uri}" | sed -e "s;/wiki/;/api…
+ nuris="$(printf 'pdf: %s\n' "${nuri}")"
fetch-uri "${nuri}" > "${tmpf}"
nocuri=0
fi
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.