Empty data returns when pulling data from a site

Viewed 29

using PHP I want to pull data from a site. I managed to do this but some places don't pull with php.

I tried to explain the error in the image; https://prnt.sc/C_3-LLoUDnVY

        //Correct working part
        $animeveri = file_get_contents($animesayfasi, false, $context);
        preg_match_all('@class="entry-title">(.*?)">@si',$animeveri,$animelinkcisi);
        $animelinkolustur = implode("", $animelinkcisi[1]);
       
        //bad part
        $sinbedAlknk = $bolumLinkleriAW[$sinbedAlici];
        $sinbedeBaglan = file_get_contents($sinbedAlknk, false, $context);
        preg_match_all('@video.sibnet(.*?)&quot@si',$sinbedeBaglan,$snibedbagl);
        $sinmeddongu = implode("", $snibedbagl[1]);
        $sinbedpatlat = explode("ru",$sinmeddongu);

At the top, I'm able to get the data from the tag in the photo from the site using PHP.

But I can't pull the following HTML tag with PHP. I don't know why, how can I fix it?

Note: When I enter the site, the sibnet link appears. but when I view the source it doesn't show up! https://prnt.sc/hluKftjinwVR

What I want is to get the sibnet link of the video.

0 Answers
Related