'Capture video tag content that JavaScript adds to the source

While scraping with PHP, I noticed that in the source taken by Curl, a tag containing the preview video was added to the source by JavaScript. I need to get the tag content that is added to the source by JavaScript. In fact, there is a site that has a movie that I want to preview its videos. I'm not familiar with JavaScript and I'm working in PHP. Please help me . Please do not blame me for my words because I translated with Google Translate Before moving the mouse on the photo after moving the mouse on the photo



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source