* fix in comment fetching logic
parent
78fae081ad
commit
717fb5da7d
|
@ -7,7 +7,7 @@ fi
|
|||
|
||||
if [[ "${get_data[cont]}" == '' ]]; then # tactical replies, INCOMING
|
||||
vid="$(curl -b cookiejar_ -H "Cookie: CONSENT=YES+1337" -s "https://www.youtube.com/watch?v=${get_data[v]}" -c cookiejar_)"
|
||||
cont="$(grep -Poh 'token":"Eg0S.*?"' <<< "$vid" | sed -E 's/token"://;s/"//g')" #'
|
||||
cont="$(grep -Poh 'token":"Eg0S.*?"' <<< "$vid" | sed -E 's/token"://;s/"//g' | head -n1)" #'
|
||||
else
|
||||
cont="${get_data[cont]}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue