Introduction
Introduction Statistics Contact Development Disclaimer Help
Handle imgur failure. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 69fbee89c4f8d39a41efd33b5aafc776b6fd17a6
parent 37cad4a466e91324ed13744494e059d3f98b0428
Author: Annna Robert-Houdin <[email protected]>
Date: Fri, 13 Aug 2021 18:48:34 +0200
Handle imgur failure.
Diffstat:
M annna-message-common | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -83,6 +83,10 @@ case "${text}" in
*imgur.com/*)
nuris="$(youtube-dl -g "${uri}")"
+ if [ $? -gt 0 ];
+ then
+ nuris=""
+ fi
;;
*lichess.org/????????|*lichess.org/????????/|*lichess.org/????…
nuris="$(printf "%s\n" "${uri}" \
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.