diff --git a/webroot/watch.shs b/webroot/watch.shs index f7a45d6..1335ced 100755 --- a/webroot/watch.shs +++ b/webroot/watch.shs @@ -165,7 +165,7 @@ if [[ "${get_data[v]}" ]]; then -e 's/^_*(-_)?//' \ -e 's/^-/_/' \ <<< "${get_data[v]}")" - echo "Written id $written_id" + vid="$(cat "temp/${written_id}_https_-_"*"watch"*".dump")" vid_json="$(tr -d '\n' <<< "$vid" | grep -Poh "ytInitialData.*?" | sed 's/ytInitialData = //;s/<\/script>//')"