invidious.13ad.de seems the least bad host, the french has clownflare and the o… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit c25167958630006e44bb3fd3ff1ab33125134eaa | |
parent 99cfdd7d5887efd7cae442270c9f6a8740d553ae | |
Author: Lingunixtix <[email protected]> | |
Date: Sun, 2 Aug 2020 20:50:22 +0200 | |
invidious.13ad.de seems the least bad host, the french has clownflare and the o… | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-add-hashtag | 2 +- | |
M annna-start-services | 2 +- | |
2 files changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/annna-add-hashtag b/annna-add-hashtag | |
@@ -25,7 +25,7 @@ dltag() { | |
cd "${memecachedir}" | |
error=0 | |
case "$uri" in | |
- *youtube.com*|*youtu.be*|*dumpert.nl*|*vimeo.com*|*twitter.com*|*reddi… | |
+ *youtube.com*|*youtu.be*|*dumpert.nl*|*vimeo.com*|*twitter.com*|*reddi… | |
youtube-dl -o "${stag}.%(ext)s" "${uri}" | |
if [ $? -gt 0 ]; | |
then | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -84,7 +84,7 @@ annna_common() { | |
case "${uri}" in | |
*youtube.com/*|*youtu.be/*) | |
- nuri="https://invidio.us/${uri#https*://*/}" | |
+ nuri="https://invidious.13ad.de/${uri#https*:/… | |
fetch-uri "${nuri}" > "${tmpf}" | |
urititle="$(curl-grabtitle "${nuri}")" | |
sturi="$(subtitle-paste "${uri}")" |