selenium
愤怒的马农
爬虫,数据分析,机器学习,人工智能
展开
-
Python 使用selenium爬取房天下网站,房源动态信息
在这里插入代码片什么是Seleniumselenium 是一套完整的web应用程序测试系统,包含了测试的录制(selenium IDE),编写及运行(Selenium Remote Control)和测试的并行处理(Selenium Grid)。Selenium的核心Selenium Core基于JsUnit,完全由JavaScript编写,因此可以用于任何支持JavaScript的浏览器...原创 2019-03-05 19:14:31 · 8094 阅读 · 0 评论 -
Python 使用selenium爬取方天下,房源评论信息
使用浏览器爬取房天下,房源评论原创 2019-03-04 19:40:27 · 7190 阅读 · 0 评论 -
Python 使用selenium爬取58网站,租房详情信息
58租房简单的实现from selenium import webdriverfrom selenium.webdriver.chrome.options import Optionsimport jsonclass ZufangSpider(object): def __init__(self): # 创建浏览器驱动对象 self.dr...原创 2019-05-05 16:40:51 · 7452 阅读 · 0 评论 -
python selenium设置chrome浏览器保持登录方式
通常情况我们都是调用原始浏览器当我们要调用登陆之后的网站时 就必须登陆加需要验证码就比较麻烦 ,使用下面的方法直接加载你登陆过后的浏览器存储的cookie就不用登陆了(不用登陆直接进入登陆后的页面)# -*- coding:utf-8 -*-from selenium import webdriverimport requests, time, json, refrom dateti...原创 2019-07-24 14:29:03 · 15445 阅读 · 5 评论