Introduction
Introduction Statistics Contact Development Disclaimer Help
Add rewrite for github raw files. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit c44e3c33b1b8a3f08bad2ac33abf9728e49b58e8
parent 5f9d02901321f73774f20af1942d5171e89ff049
Author: Annna Robert-Houdin <[email protected]>
Date: Tue, 9 Jun 2020 14:25:40 +0200
Add rewrite for github raw files.
Diffstat:
M annna-start-services | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -119,6 +119,10 @@ annna_common() {
nuri="${nuri}; gopherdit: ${guri} "
fi
;;
+ *github.com/*/blob/*)
+ urltitle=""
+ nuri="$(printf '%s' "${uri}" | sed 's/blob/raw…
+ ;;
*)
mimetype="$(file -b --mime-type "${tmpf}")"
case "${mimetype}" in
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.