Adding #5g-gay tag. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit d7a98c3e5f12fe4fffa83c713aec41155d3c5eb3
(DIR) parent 7005e844965dd2e3813edd8624a1dc22d71f12e7
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 19 Apr 2020 12:02:27 +0200
Adding #5g-gay tag.
Diffstat:
M annna-start-services | 8 +++++++-
M fetch-url | 2 --
M modules/hashtags/hashtags.txt | 1 +
3 files changed, 8 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/annna-start-services b/annna-start-services
@@ -116,7 +116,13 @@ then
*)
if expr "${uri}" : '^https*://[^/]*youtu\(\.be\|be\..\{2,3\}\)/'
then
- annna-say -c "#bitreich-en" "HTML title: ${urititle}"
+ spurl="$(subtitle-paste "${uri}")"
+ if [ -n "${spurl}" ];
+ then
+ annna-say -c "#bitreich-en" "HTML title: ${urititle} ; subtitles: ${spurl}"
+ else
+ annna-say -c "#bitreich-en" "HTML title: ${urititle}"
+ fi
else
case "${uri}" in
*twitter.com*)
(DIR) diff --git a/fetch-url b/fetch-url
@@ -1,7 +1,5 @@
#!/bin/sh
-set -x
-
if test x"$1" = x""; then
echo "usage: $0 <url>" >&2
exit 1
(DIR) diff --git a/modules/hashtags/hashtags.txt b/modules/hashtags/hashtags.txt
@@ -15,6 +15,7 @@
#404 gopher://bitreich.org/I/memecache/404.png
#50eur gopher://bitreich.org/I/memecache/50eur.png
#5g-covidiots gopher://bitreich.org/I/memecache/5g-covidiots.png
+#5g-gay gopher://bitreich.org/I/memecache/5g-gay.jpg
#5g-tower gopher://bitreich.org/9/memecache/5g-tower.mp4
#5g-upgrade gopher://bitreich.org/I/memecache/5g-upgrade.jpg
#69 gopher://bitreich.org/9/memecache/69.mkv