Php 加载iframe内容后获取其页面源

Php 加载iframe内容后获取其页面源,php,iframe,web-scraping,video-streaming,simple-html-dom,Php,Iframe,Web Scraping,Video Streaming,Simple Html Dom,我正在从iframe中抓取一个视频URL。我使用的是file\u get\u contents('iframe\u url')。但我只在页面加载之前获取内容。 比如说, <textarea><?php echo file_get_html('https://www.xvideos.com/embedframe/26922703'); ?></textarea> 我只得到 <img src='http://static-ss.xvideos-cdn.

我正在从iframe中抓取一个视频URL。我使用的是file\u get\u contents('iframe\u url')。但我只在页面加载之前获取内容。 比如说,

<textarea><?php echo file_get_html('https://www.xvideos.com/embedframe/26922703'); ?></textarea>

我只得到

<img src='http://static-ss.xvideos-cdn.com/v3/img/skins/default/xvideos.com.png' /><div style='background-color: #FFF'><h1>Please find this video on <a href='https://xvideos.com' target='_blank'>xvideos.com</a> or <a href='https://xvideos.net' target='_blank'>xvideos.net</a></h1></div>
请在或上查找此视频
但是,当我右键单击iframe并单击viewframesource时,就会得到完整的页面源代码。 那么,在加载了iframe的javascript文档之后,如何使用PHP获取iframe页面源代码呢

感谢您的帮助