ytcli

Des commandes pour utiliser youtube - retour accueil

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

twitchgetvods (210B)


      1 #! /bin/sh
      2 
      3 curl -Ls "https://www.twitch.tv$1" |
      4 	sed 's/">/\n/g' |
      5 	grep -A 1 "application/ld+json" | tail -n+2 |
      6 	jq -r '."@graph"[1].itemListElement[] |
      7 				[.url,.name,.uploadDate] |
      8 				@tsv' 2>/dev/null
      9