1
0

more pig stuff

This commit is contained in:
dtb 2022-11-02 00:55:00 -04:00
parent 8ee09ede65
commit bcc6b0d3ac
6 changed files with 34 additions and 6 deletions

0
rss/pig_fetch Normal file → Executable file
View File

8
rss/pig_fetch.youtube Normal file → Executable file
View File

@ -1,7 +1,9 @@
#!/bin/sh #!/bin/sh
id(){ id(){
youtube-dl --skip-download --print-json --playlist-items 1 "$1" | jq '.channel_id' | tr -d '"' youtube-dl --skip-download --print-json --playlist-items 1 "$1" \
| jq '.channel_id' \
| tr -d '"'
} }
feedurl(){ feedurl(){