-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于attached_url的bug #164
Comments
你改下提个patch给我呀 |
大哥!!!我真的太感谢你了!! |
@yingzheng1980 还有个问题,有的详情页有分页 有的没有 如何判断呢
|
改了也不对, 2:有分页的 只采集下一页等几个内容页,当前页内容并没有被采集 `<?php /【重要 模拟登录】/ requests::set_cookies($cookies, 'www.qikan.com.cn'); /*[for scan_urls 计算出年份和周数 每次请求加上即可]
*/ //周数 $year=date('Y'); //die; //7 主要尝试增加分页 $configs = array(
/* /*
*/
); $spider = new phpspider($configs); //【如何对采集到的字段进行二次处理?】 on_extract_field进行二次处理即可
}; $spider->start();` |
phpspider.php 文件的第 2114 行,下载应该使用 $collect_url
$html = requests::$method($collect_url, $params);
否则不会去下载 attached_url
The text was updated successfully, but these errors were encountered: