diff --git a/webroot/comments.shs b/webroot/comments.shs index ec4ba95..d591b8f 100755 --- a/webroot/comments.shs +++ b/webroot/comments.shs @@ -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