python webkit 异步抓取页面数据
来源:互联网 发布:企业管理的数据意识 编辑:程序博客网 时间:2024/06/04 23:34
http://blog.csdn.net/cabing2005/article/details/9764379
http://nightly.webkit.org/
- #!/usr/bin/python
- from ghost import Ghost
- class FetcherCartoon:
- def getCartoonUrl(self, url):
- if url is None:
- return false
- #todo many decide about url
- ghost = Ghost()
- #open webkit
- ghost.open(url)
- #exceute javascript and get what you want
- result, resources = ghost.evaluate("document.getElementById('cp_image').getAttribute('src');")
- del resources
- return result
- if __name__ == "__main__":
- url = 'http://www.dm5.com/m136836-p3/'
- result = None
- fetcher = FetcherCartoon()
- result = fetcher.getCartoonUrl(url)
- print result
0 0
- python webkit 异步抓取页面数据
- python webkit 异步抓取页面数据
- python抓取页面数据实例
- 使用Jsoup 异步抓取页面的数据
- Python数据抓取——多线程,异步
- python使用spynner抓取动态页面数据
- 拉钩异步数据抓取
- Python爬虫:异步数据抓取并保存到Excel
- 关于Webkit的JS数据抓取(记录)
- python 页面信息抓取
- Python抓取页面
- Python 抓取页面
- php 抓取页面数据
- html页面数据抓取
- C#抓取ajax异步数据
- C#抓取ajax异步数据
- Python利用selenium模拟浏览器抓取异步加载等难爬页面信息
- python抓取数据例子
- Android 中的接口回调
- OpenGL之VBO,PBO,FBO技术
- 三维引擎设计专题--大气散射特效
- 愉快的开始,Java初探
- EditText 设置 左上角 光标
- python webkit 异步抓取页面数据
- 一些数据接口的网址
- Docker的15个常用命令
- 超简单使用MemCached
- 朝鲜RedStar_OS_3.0安装图解
- 如何将.class文件反编译为.java文件
- 通过http post发送json数据
- 图片加水印c#
- POJ1837 动态规划 (01背包)