more pig stuff
This commit is contained in:
parent
8ee09ede65
commit
bcc6b0d3ac
0
rss/pig_fetch
Normal file → Executable file
0
rss/pig_fetch
Normal file → Executable file
8
rss/pig_fetch.youtube
Normal file → Executable file
8
rss/pig_fetch.youtube
Normal file → Executable 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(){
|
||||||