上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 180 下一页
摘要: 今天写爬虫,遇到一个坑,提示[scrapy.core.scraper] ERROR: Spider must return request, item, or None, got 'Tag' in <GET https://www. 其实原因很意外,我在代码中使用了item,同时scrapy又用it 阅读全文
posted @ 2021-10-20 19:35 myrj 阅读(2731) 评论(0) 推荐(0) 编辑
摘要: 宁津不动产:5239108 宁津政务中心:5216101 阅读全文
posted @ 2021-10-20 10:31 myrj 阅读(23) 评论(0) 推荐(0) 编辑
摘要: def __init__(self, *args, **kwargs): super(MmzzSpider, self).__init__(*args, **kwargs) # 这里是关键 self.count=0 def parse_item(self, response): soup =Beau 阅读全文
posted @ 2021-10-19 22:06 myrj 阅读(23) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selen 阅读全文
posted @ 2021-10-16 20:09 myrj 阅读(78) 评论(0) 推荐(0) 编辑
摘要: python3爬虫:爬虫进阶之ajax数据爬取发布时间: 2019-02-06 19:21:14动态网页数据抓取什么是AJAX:AJAX(Asynchronouse JavaScript And XML)异步JavaScript和XML。通过在后台与服务器进行少量数据交换,Ajax 可以使网页实现异 阅读全文
posted @ 2021-10-16 10:41 myrj 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-10-13 14:08 myrj 阅读(27) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> //当前程序运行时如果输入*回车,则一直显示需要补考,不停止 //原因:scanf()键盘输入,有一个缓冲区,遇到回车才结束 //*指针,对应scanf()中涉及到的变量 //保留scanf()后面的getchar(),则“吸收”了回车,只有*,整型为0,所以才显 阅读全文
posted @ 2021-10-13 09:30 myrj 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 1.python -m pip install --upgrade pip(升级PIP) 2.pip install wheel 3.pip install lxml 4.pip install twisted 5.pip install pywin32 6.pip install srapy 阅读全文
posted @ 2021-10-13 06:23 myrj 阅读(49) 评论(0) 推荐(0) 编辑
摘要: https://www.liepin.com/zhaopin/?headId=cac3aac257fd1a178ba8fd879700885f&pubTime=30 阅读全文
posted @ 2021-10-11 22:30 myrj 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1.USB设备灯亮目的是为了在关机时仍然给USB设备充电,保证USB设备有电 2.不足:USB设备是有电了,但笔记本电脑的电池耗尽了,对电池不利 3.关闭方法:F2 进入CMOS设置--configuration-always on usb-disabled enabled:usb charge i 阅读全文
posted @ 2021-10-10 06:35 myrj 阅读(1067) 评论(0) 推荐(0) 编辑
上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 180 下一页