ytcli

Des commandes pour utiliser youtube - retour accueil

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

commit 9fdfffbfdc7e52d9b5df2bcefcf29c1ebfb03b3b
parent 0997ecfe8817f4ef02ed9e2062853246127181f4
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Sun,  8 Sep 2024 15:01:30 +0200

Evidemment j'oublie de retirer les lignes de debug

Diffstat:
Mytgetvideos | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/ytgetvideos b/ytgetvideos @@ -4,7 +4,6 @@ request() { encoded=$(echo "$@" | sed 's/ /+/g;s/&//g' | tr -d '[]') curl -Ls "https://www.youtube.com/results?search_query=$encoded" } -set azdazd request "$@" | sed -n '21 p' | grep -Eo 'ytInitialData.*' | sed 's/^ytInitialData =//' |