ytcli

Des commandes pour utiliser youtube - retour accueil

git clone git://bebou.netlib.re/ytcli
Log | Files | Refs | README |

commit 8a9bf313001ec8f5c739c7e73a5a3aadfb991f17
parent 9d2c42f817381ad22d3968ea2871e57b623f0b60
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Tue, 17 Sep 2024 22:19:33 +0200

Un curl vaut mieux qu'un chromium

Diffstat:
Mtwitchgetvods | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/twitchgetvods b/twitchgetvods @@ -1,6 +1,6 @@ #! /bin/sh -chromium --headless=new --timeout=2000 --dump-dom "https://www.twitch.tv$1" | +curl -Ls "https://www.twitch.tv$1" | sed 's/">/\n/g' | grep -A 1 "application/ld+json" | tail -n+2 | jq -r '."@graph"[1].itemListElement[] |