0

I am trying to check if some channel live streaming is live now without youtube data api. I am using laravel 8 (weidner/goutte) package but i am unable to find {"text":" watching"} string. can anybody help please.

Found this but cant figure out how to do it in laravel How to find if a youtube channel is currently live streaming without using search?

Tried this but it returns nothing

$page-\>filter('.text-wrapper style-scope ytd-video-renderer .style-scope ytd-video-renderer ytd-video-meta-block .style-scope ytd-video-meta-block .style-scope ytd-video-meta-block')-\>each(function ($node) {
dump($node-\>text());
});
brombeer
  • 8,716
  • 5
  • 21
  • 27
fullstack
  • 11
  • 3

0 Answers0