Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
webmagic
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
webmagic
Commits
a9721036
Commit
a9721036
authored
Aug 09, 2013
by
yihua.huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs
parent
19d067fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
webmagic manual.md
webmagic manual.md
+1
-1
No files found.
webmagic manual.md
View file @
a9721036
...
@@ -229,7 +229,7 @@ webmagic包括一个对于页面正文的自动抽取的类**SmartContentSelecto
...
@@ -229,7 +229,7 @@ webmagic包括一个对于页面正文的自动抽取的类**SmartContentSelecto
*
SeleniumDownloader
*
SeleniumDownloader
对于一些Javascript动态加载的网页,仅仅使用http模拟下载工具,并不能取到页面的内容。这方面的思路有两种:一种是抽丝剥茧,分析js的逻辑,再用爬虫去重现它;另一种就是:内置一个浏览器,直接获取最后加载完的页面。
**webmagic-selenium**
包中整合了Selenium到SeleniumDownloader,可以直接进行动态加载页面的抓取。
对于一些Javascript动态加载的网页,仅仅使用http模拟下载工具,并不能取到页面的内容。这方面的思路有两种:一种是抽丝剥茧,分析js的逻辑,再用爬虫去重现它;另一种就是:内置一个浏览器,直接获取最后加载完的页面。
**webmagic-selenium**
包中整合了Selenium到SeleniumDownloader,可以直接进行动态加载页面的抓取。
使用selenium需要安装一些native的工具,具体步骤可以参考作者的博文
[
使用Selenium来抓取动态加载的页面
](
http://my.oschina.net/flashsword/blog/147334
)
#### Scheduler(URL管理)
#### Scheduler(URL管理)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment