Use Evil_Bob's idiotbox for youtube metadata link. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit fc76144c7ee11ddab8d5efb32c77d7cbff79b9f3 DIR parent ae8667b55b8ca220d6a84efb0fc79cb7b735d571 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sun, 26 Feb 2023 21:31:07 +0100 Use Evil_Bob's idiotbox for youtube metadata link. Diffstat: M annna-message-common | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -184,7 +184,9 @@ case "${text}" in urititle="$(curl-grabtitle "${nuri}")" sturi="$(subtitle-paste "${uri}")" nuris="invidious: ${nuri}" - nocuri=0 + ytid="${uri#https*://*/watch?v=}" + nuris="${nuris} ; metadata: gophers://git.codemadness.org/1/idiotbox.cgi?v=${ytid}" + nocuri=1 ;; *) mimetype="$(file -b --mime-type "${tmpf}")"