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