• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

故事呼和

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2020年2月24日

自动转载其他网站的文章,管理员端口,selenium,pykeyboard,xlrd

摘要: from selenium import webdriver import time from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import 阅读全文

posted @ 2020-02-24 23:40 故事呼和 阅读(462) 评论(0) 推荐(0)

2020年2月9日

亿邦动力抓取实例,持续更新

摘要: # -*- coding: utf-8 -*- import scrapy from ybdlspider.items import YbdlspiderItem import re class YbSpider(scrapy.Spider): name = 'yb' allowed_domains 阅读全文

posted @ 2020-02-09 01:27 故事呼和 阅读(169) 评论(1) 推荐(0)

scrapy 常用命令

摘要: 新创建项目:scrapy startproject +项目名字 cmd有关命令:cd 文件名 阅读全文

posted @ 2020-02-09 01:25 故事呼和 阅读(166) 评论(0) 推荐(0)

2020年2月8日

sublime快捷键,持续更新,前辈们多多补充啊

摘要: 加注释行:ctrl+/ 运行代码:ctrl+b 新建代码:ctrl+n 保存代码:ctrl+s 撤销操作:ctrl+z 阅读全文

posted @ 2020-02-08 23:04 故事呼和 阅读(119) 评论(0) 推荐(0)

Uer-Agent

摘要: 1 import random 2 3 agent1="Mozilla/5.0 (Linux; U; Android 8.1.0; zh-cn; BLA-AL00 Build/HUAWEIBLA-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Version 阅读全文

posted @ 2020-02-08 23:01 故事呼和 阅读(332) 评论(0) 推荐(0)

2020年2月7日

人才网的一个抓取,初学python,希望哥哥姐姐们多指导,多批评

摘要: from bs4 import BeautifulSoupimport urllibimport urllib.requestimport re# import json headers={"User-Agent" : "Mozilla/5.0 (compatible; MSIE 9.0; Wind 阅读全文

posted @ 2020-02-07 22:39 故事呼和 阅读(154) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3