摘要:
import osfrom selenium import webdriverimport time,jsonclass Cookie(object): def __init__(self,driver,login_url,url,web_name): self.driver = driver se 阅读全文
posted @ 2020-03-19 16:31
brady-wang
阅读(394)
评论(0)
推荐(0)
摘要:
解决selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: invalid 'expiry' 浏览器添加cookies with open('cookies', 'r', encoding='ut 阅读全文
posted @ 2020-03-19 15:40
brady-wang
阅读(7431)
评论(0)
推荐(0)
摘要:
#-*- coding:utf8 -*- # 导入selenium2中的webdriver库 from time import sleep from selenium import webdriver from selenium.webdriver.chrome.options import Opt 阅读全文
posted @ 2020-03-19 15:16
brady-wang
阅读(408)
评论(0)
推荐(0)
摘要:
概述 csv是最通用的文件格式,本质是文本文件,用记事本即可打开。同一行中每个字段间用逗号分隔,在csv中显示的是在不同单元格中,在记事本中显示的是一行中用逗号分隔。 xls是excel专用格式,是二进制文件,只有excel才能打开。 CSV操作 csv写入 1.写入列表(list)数据 使用 cs 阅读全文
posted @ 2020-03-19 10:22
brady-wang
阅读(793)
评论(0)
推荐(0)
摘要:
# -*- coding: utf-8 -*- import scrapy class TestSpider(scrapy.Spider): name = 'test' allowed_domains = ['yeves.cn'] start_urls = ['https://yeves.cn/'] 阅读全文
posted @ 2020-03-19 10:15
brady-wang
阅读(718)
评论(0)
推荐(0)

浙公网安备 33010602011771号