Adding #jesus-reminder tag. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit d8b532623d9a3738e1d67f668c1953add6a2315b | |
parent 61d3b0b58d0155112dd47b883556027027e9f0ab | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 29 Aug 2022 20:30:33 +0200 | |
Adding #jesus-reminder tag. | |
Diffstat: | |
M imdb2gopherbay | 16 ++++++++++++++++ | |
M modules/hashtags/hashtags.txt | 1 + | |
2 files changed, 17 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/imdb2gopherbay b/imdb2gopherbay | |
@@ -25,11 +25,27 @@ title="$(curl -H 'Accept-Language: en' -s "${imdburi}" \ | |
| grabtitle \ | |
| sed 's, - IMDb,,')" | |
+# Ver1: | |
# | extractjson \ | |
# | json2tsv \ | |
# | grep associatedTitle.originalTitleText.text )" | |
# | head -n 1 \ | |
# | cut -f 3)" | |
+# | |
+# Evil_Bob Ver2: Thanks! | |
+#| extractjson | sed 1q | json2tsv | LC_ALL=C awk ' | |
+#BEGIN { | |
+# FS = OFS = "\t"; | |
+#} | |
+#$1 == ".@type" { type = $3; } | |
+#$1 == ".description" { description = $3; } | |
+#$1 == ".name" { name = $3; } | |
+#$1 == ".aggregateRating.ratingValue" { rating = $3; } | |
+#$1 == ".datePublished" { published = substr($3, 1, 4); } | |
+#END { | |
+# printf("%s (%s) from %s, rating: %s: %s\n", | |
+# name, type, published, rating, description); | |
+#}' | |
[ -z "${title}" ] && exit 1 | |
diff --git a/modules/hashtags/hashtags.txt b/modules/hashtags/hashtags.txt | |
@@ -7614,6 +7614,7 @@ | |
#jesus-loves-you gopher://bitreich.org/I/memecache/jesus-loves-you.jpg | |
#jesus-poser gopher://bitreich.org/I/memecache/jesus-poser.jpg | |
#jesus-punch gopher://bitreich.org/9/memecache/jesus-punch.mkv | |
+#jesus-reminder gopher://bitreich.org/I/memecache/jesus-reminder.jpg | |
#jesus-saves gopher://bitreich.org/I/memecache/jesus-saves.jpg | |
#jesus-smokes gopher://bitreich.org/9/memecache/jesus-smokes.webm | |
#jesus-soap gopher://bitreich.org/I/memecache/jesus-soap.jpg |