CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - javascript html
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - javascript html - List
[
Search Engine
]
cobra
DL : 0
有js逻辑的页面,对网络爬虫的信息抓取工作造成了很大障碍。DOM树,只有执行了js的逻辑才可以完整的呈现。而有的时候,有要对js修改后的dom树进行解析。在搜寻了大量资料后,发现了一个开源的项目cobra。cobra支持JavaScript引擎,其内置的JavaScript引擎是mozilla下的 rhino,利用rhino的API,实现了对嵌入在html的JavaScript的解释执行-There js a logical page, the information on the Web crawler to crawl, caused a significant obstacle. DOM tree, only the implementation of the js logic can complete the presentation. And sometimes, there js want to modify the dom tree after parsing. A lot of information in the search and found an open source project cobra. cobra support JavaScript engine, which is mozilla JavaScript engine built under the rhino, the use of rhino' s API, allowing for the JavaScript embedded in the html interpreted
Date
: 2025-12-17
Size
: 854kb
User
:
bylray
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.