This is screen scraping and generally considered to be bad from and make be against the Developer TOS.
https://www.twitch.tv/p/en/legal/developer-agreement/
Additionally if you are in PHP just generate an app access token.
This also won’t work since the Twitch website uses JS to post render the page after it’s loaded. (last I checked).
The intended way to get this data is via the API, not screenscraping.
As such I have removed your post