自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(43)
  • 收藏
  • 关注

原创 编码报错:‘gbk‘ codec can‘t decode byte 0xb5

法语等特殊字符的编解码格式

2023-01-13 21:22:47 141

原创 selenium报错解决:selenium.common.exceptions.WebDriverException: Message(已解决)

selenium报错解决:selenium.common.exceptions.WebDriverException: Message

2023-01-05 20:33:14 1262

原创 Scrapy_redis分布式原理

Scrapy_redis分布式原理

2022-12-16 00:01:16 100

原创 JS解析详细分析

JS解析

2022-12-15 23:41:37 141

原创 将项目 上传到Git上面

gitbash命令上传项目

2022-12-14 23:39:54 48

原创 scrapy模拟登陆

scrapy模拟登陆

2022-12-12 22:15:12 276 1

原创 报错解决:SyntaxError: Non-UTF-8 code starting with ‘\xe7‘

SyntaxError: Non-UTF-8 code starting with '\xe7'

2022-12-09 17:34:23 721

原创 scrapy的crawlspider爬虫

scrapy的crawlspider爬虫

2022-12-08 17:04:27 140

原创 报错解决: TypeError: ‘bool‘ object is not iterable

报错解决: TypeError: 'bool' object is not iterable

2022-12-08 16:52:35 680

原创 scrapy的深入使用:

scrapy的深入使用

2022-12-07 23:39:20 59

原创 scrapy中如何实现翻页抓取数据

scrapy中如何实现翻页抓取数据

2022-12-07 23:30:03 566

原创 报错解决:json.decoder.JSONDecodeError:

报错解决:json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 10 (char 9)

2022-12-06 16:58:37 671

原创 json中的loads和dumps的区别及用法

str转为dict,dict转为str

2022-12-01 15:38:19 287

原创 报错解决:TypeError: string indices must be integers, not ‘str‘

'将str类型的数据转为dict类型,报错解决:TypeError: string indices must be integers, not 'str

2022-11-30 10:03:56 1022 1

原创 python中添加进度条----trange的使用

python中使用trange添加进度条

2022-11-29 11:37:45 1178 1

原创 报错解决:urllib3.exceptions.MaxRetryError

报错解决

2022-11-28 17:34:42 669

原创 多线程爬虫的实现----threading库的使用

多线程爬虫的实现----threading库的使用

2022-11-23 17:51:22 206

原创 多个列表放在一个文件中,读取时怎么获取到并合并成一个列表

读取单个文件中的多个列表,并自动合并成一个列表

2022-11-23 17:43:32 118

原创 scrapy的注意点的问题

scrapy使用注意点:开启管道,设置请求头

2022-11-21 17:50:37 210

原创 scrapy框架的使用

scrapy的使用方法

2022-11-21 17:38:10 222

原创 selenium解决下拉表单和浏览器下拉进度条问题的问题

selenium解决下拉表单和浏览器下拉进度条问题的问题

2022-11-18 16:17:09 678

原创 selenium之ActionChains的使用

selenium之ActionChains

2022-11-18 15:57:36 218

原创 报错解决TypeError: write() argument must be str, not list

报错解决TypeError: write() argument must be str, not list

2022-11-18 11:14:42 2284

原创 CSDN上面的排名和什么有关?

CSDN排名

2022-11-17 17:15:58 147

原创 使用post请求将数据发送到服务器后端

post发送数据到后台

2022-11-17 16:24:10 429

原创 python中requests模块中get请求的使用

requests模块中的get请求

2022-11-17 16:16:20 1080

原创 已解决报错UnboundLocalError: local variable ‘title‘ referenced before assignment

已解决报错UnboundLocalError: local variable 'title' referenced before assignment

2022-11-16 16:43:30 1122

原创 向较长的字符串中的指定位置添加指定元素

向较长的字符串中的指定位置添加指定元素

2022-11-16 13:38:45 185

原创 python中三大数据提取方法(3)----正则表达式re库

正则表达式详细使用方法,附带例子

2022-11-15 17:34:48 627

原创 python中常用的三大数据提取方法(2)----xpath

xpath提取数据

2022-11-14 16:46:45 337

原创 python中最常用的三大数据提取方法(1)----jsonpath

jsonpath的使用

2022-11-14 16:10:32 1308

原创 python中向列表中添加字典报错‘str‘ object has no attribute ‘append‘

解决报错'str' object has no attribute

2022-11-11 13:31:25 786

原创 获取到某宝店铺的url后怎么在店铺内搜索相关商品,鼠标悬停解决

鼠标悬停定位元素并点击

2022-11-03 09:33:16 122

原创 遍历列表中的字典并取出其中的值报错string indices must be integers

string indices must be integers

2022-11-02 17:15:07 369

原创 某宝登录滑块拖动没反应解决,亲测有效

某宝登录滑块无法定位拖动问题解决

2022-10-28 09:22:40 925

原创 使用selenium时遇到的报错selenium.common.exceptions.WebDriverException: Message: Service xxxxstaus:1详解及解决方法详解

python中使用selenium报错:selenium.common.exceptions.WebDriverException: Message: Service xxxxstaus:1

2022-10-25 17:58:14 1402

原创 selenium反爬遇到的问题以及解决措施

selenium反爬遇到的问题以及解决措施

2022-10-11 15:47:13 1751 3

原创 保存到数据库中报错pymysql.err.DataError:

今天爬取数据时发现python报错pymysql.err.DataError: (1366, "Incorrect string value: '\\xE5\\xA4\\xAA\\xE7\\xA9\\xBA...' for column 'title' at row 1"),查看后台运行的状态,数据已经获取到,所以判断这种报错的问题,这种问题一般是编码的问题回到创建数据库命令界面发现在创建时没有添加utf8,回到数据库的创建界面重新添加charset=utf8就没有问题了...

2022-05-17 14:53:58 578

原创 字体加密获取不到数据

字体加密破解,fontTools破解数据加密反爬

2022-05-12 12:22:20 159

原创 python操作数据库报错pymysql.err.programmingError

在python连接数据库时报错pymysql.err.programmingError,去网上看了很多种解决的方法,都试了一遍发现问题还是没有解决,后来一行一行的排出,终于发现是复制xpath的问题,自己手动修改了xpath语法就没有报错了。我看了其他博主将单引号改成三双引号也解决了问题,大家也可以试一下,如果没有用的话可以试着修改xpath语法。...

2022-05-04 20:24:36 2714

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除