2245760781
发表于 2021-6-9 12:29:25
{:5_109:}
2245760781
发表于 2021-6-9 12:38:28
沉迷include 发表于 2019-1-10 18:27
有报错误吗?发给我一下,看看
Traceback (most recent call last):
File "C:/Users/修心/Desktop/爬取百度贴吧.py", line 53, in <module>
main()
File "C:/Users/修心/Desktop/爬取百度贴吧.py", line 48, in main
get_img(url)
File "C:/Users/修心/Desktop/爬取百度贴吧.py", line 26, in get_img
for i in range(1,page_num(url)):
File "C:/Users/修心/Desktop/爬取百度贴吧.py", line 18, in page_num
page = url_open(url)
File "C:/Users/修心/Desktop/爬取百度贴吧.py", line 11, in url_open
html = page.read().decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 355: invalid start byte
YoRHa1
发表于 2021-7-6 00:09:01
kankan
vigo_gan
发表于 2021-8-14 14:05:38
看 美女来了。。。。。。。
小菜鸟FLY
发表于 2021-8-15 16:53:48
看看
Eternal1
发表于 2021-8-15 22:34:41
学习了
495693466
发表于 2021-8-25 21:53:49
{:5_96:}
yobdc
发表于 2021-8-27 16:41:35
查看
yobdc
发表于 2021-8-27 16:49:18
运行不了Traceback (most recent call last):
File "E:/python/贴吧爬取.py", line 53, in <module>
main()
File "E:/python/贴吧爬取.py", line 49, in main
flie.close()
NameError: name 'flie' is not defined
llc2009
发表于 2021-8-28 22:04:01
谢谢
老甲鱼真黄
发表于 2021-8-29 11:08:18
牛皮
1458074345
发表于 2021-8-29 16:41:10
来学习了
L-茉遇
发表于 2021-8-29 21:23:44
!
xionglizun
发表于 2021-9-4 08:49:35
1
vg4616
发表于 2021-9-16 20:55:16
好
FirstPython
发表于 2021-9-19 11:44:54
学习一下学习一下
519210269
发表于 2021-11-13 12:58:04
666
santi647
发表于 2021-12-2 21:14:49
111
了了0V0
发表于 2021-12-5 10:32:36
1
18707070579
发表于 2021-12-6 20:56:45
看看
页:
4
5
6
7
8
9
10
11
12
13
[14]
15
16
17