summaryrefslogtreecommitdiff
path: root/bin/extra/ehbtodl
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-04 14:02:28 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-04 14:02:28 +0200
commitdc03fb40fe55a7dc88c07509b47299223d4d5815 (patch)
tree93d33df604005218d287d535b37dfc4ab9de307d /bin/extra/ehbtodl
parent1496b8724c39dd6d16a46916ad4ed47a83a44852 (diff)
cleaned up scripts, use sh (-> dash) where possible
Diffstat (limited to 'bin/extra/ehbtodl')
-rwxr-xr-xbin/extra/ehbtodl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/extra/ehbtodl b/bin/extra/ehbtodl
index 39d8621..df11797 100755
--- a/bin/extra/ehbtodl
+++ b/bin/extra/ehbtodl
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
echo "$1" | sed 's/-H/\\\n\t&/g' | sed '/gzip/d' > /tmp/curlcommand.sh
sh /tmp/curlcommand.sh > /tmp/ehbso.html
vids="$(grep -oE "youtube\.com/embed/.{11}" /tmp/ehbso.html | cut -d'/' -f 3 | tr '\n' ' ')"