* fixed bad channel URL
parent
11dfe8685a
commit
4cd00fc54e
|
@ -72,8 +72,7 @@ if [[ "${get_data[v]}" ]]; then
|
|||
fi
|
||||
fi
|
||||
cd ..
|
||||
#echo "http://youtube.com/watch?v=${get_data[v]}" > /dev/stderr
|
||||
strings[channel_id]=$(jq -r '.channel_url' <<< "$video" | sed -s 's/http:\/\/www.youtube.com\/channel\///')
|
||||
strings[channel_id]=$(jq -r '.channel_url' <<< "$video" | sed -s 's/.*\/channel\///')
|
||||
strings[uploader]=$(jq -r '.uploader' <<< "$video")
|
||||
strings[title]=$(jq -r '.title' <<< "$video")
|
||||
if [[ ${cfg[template]} == 'default' ]]; then
|
||||
|
|
Loading…
Reference in New Issue