grep you forces *you* in URL
This commit is contained in:
parent
3d4bca6904
commit
8a6de5a2c2
|
@ -72,8 +72,8 @@ do
|
|||
msg_branch=$(printf %s "$msg" | jq -r .value.content.branch)
|
||||
# echo $msg_branch
|
||||
msg_text=$(printf %s "$msg" | jq -r .value.content.text)
|
||||
# echo $msg_text
|
||||
msg_ytdlurl=$(echo $msg_text | egrep -o 'https?://[^ ]+' | cut -d '\' -f 1 | tail -n 1)
|
||||
# echo $msg_text | grep you forces *you* in URL
|
||||
msg_ytdlurl=$(echo $msg_text | egrep -o 'https?://[^ ]+' | grep you | cut -d '\' -f 1 | tail -n 1)
|
||||
# echo $msg_ytdlurl
|
||||
|
||||
# YOUTUBE-DL AUDIO
|
||||
|
|
|
@ -70,8 +70,8 @@ do
|
|||
msg_branch=$(printf %s "$msg" | jq -r .value.content.branch)
|
||||
# echo $msg_branch
|
||||
msg_text=$(printf %s "$msg" | jq -r .value.content.text)
|
||||
# echo $msg_text
|
||||
msg_ytdlurl=$(echo $msg_text | egrep -o 'https?://[^ ]+' | cut -d '\' -f 1 | tail -n 1)
|
||||
# echo $msg_text | grep you forces *you* in URL
|
||||
msg_ytdlurl=$(echo $msg_text | egrep -o 'https?://[^ ]+' | grep you | cut -d '\' -f 1 | tail -n 1)
|
||||
# echo $msg_ytdlurl
|
||||
|
||||
# YOUTUBE-DL VIDEO
|
||||
|
|
Loading…
Reference in New Issue