Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix a bug in screenshot scraping, start new instance. - annna - Annna the nice …
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit b4d79ed0bdd7fcdf0aaef8253f0f5d46922dc557
parent 5da3e1303815912a4bc6babba317b33ecb8ceeff
Author: Annna Robert-Houdin <[email protected]>
Date: Thu, 4 Jun 2020 13:41:37 +0200
Fix a bug in screenshot scraping, start new instance.
Diffstat:
M annna-start-services | 2 ++
M nwo-chip-all | 0
M screenshot-url | 3 ++-
M subtitle-paste | 2 --
4 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -71,6 +71,7 @@ annna_common() {
annna-say -c "${channe…
fi
else
+ set -x
wikipedia=0
case "${uri}" in
*twitter.com*)
@@ -110,6 +111,7 @@ annna_common() {
spurl=""
;;
esac
+ set +x
if [ $wikipedia -eq 0 ];
then
diff --git a/nwo-chip-all b/nwo-chip-all
diff --git a/screenshot-url b/screenshot-url
@@ -19,7 +19,8 @@ pastebase="/br/gopher/paste"
cd "${pastebase}"
tmpfile="$(mktemp p-XXXXXXXXXXXXX.png)"
-firefox $firefoxargs --screenshot "${pastebase}/${tmpfile}" "${url}" 2>&1 >/de…
+firefox $firefoxargs --new-instance --screenshot \
+ "${pastebase}/${tmpfile}" "${url}" 2>&1 >/dev/null
# Firefox stores with rw----
chmod g+wr "${pastebase}/${tmpfile}"
diff --git a/subtitle-paste b/subtitle-paste
@@ -1,7 +1,5 @@
#!/bin/sh
-set -x
-
export PATH="/home/annna/bin:$PATH"
if [ $# -lt 1 ];
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.