【发布时间】:2017-03-09 22:10:09
【问题描述】:
我想使用 HTML DOM 解析器从一个页面抓取链接。
另一个网页有这个代码:
$('#vidabc-fast-watch-button').click(function() {
$('#fast-watch-frame').attr('src','http://vidabc.com/embed-8fyiakzp0ob8.html');
});
$('#kingvid-fast-watch-button').click(function() {
$('#vidwatch-fast-watch-button').click(function() {
$('#fast-watch-frame').attr('src','');
});
$('#estream-fast-watch-button').click(function() {
$('#fast-watch-frame').attr('src','http://estream.to/embed-2605th4kkypl.html');
});
$('#openload-fast-watch-button').click(function() {
$('#fast-watch-frame').attr('src','http://openload.co/embed/YsaOx8K5Bk0/');
});
我想将信息抓取到另一个 PHP 页面和preg_match url。
但在 JS 代码中找不到链接。
有什么想法吗?
【问题讨论】:
标签: javascript php jquery preg-match-all simple-html-dom