LibraHp / GetQzonehistory

获取QQ空间发布的历史说说
GNU General Public License v3.0
4.68k stars 357 forks source link

【汇总贴】'utf-8'codeccan'tdecodebyteOxbeinposition492:invalidstartbyte #164

Open zlaazlaa opened 22 hours ago

zlaazlaa commented 22 hours ago

消息有些分散,大家集中反馈在这里🎉

shuke12306 commented 22 hours ago

20241113172448746 Win10系统,最新版软件。

baifan97 commented 22 hours ago

1.01也是一样的报错,进度卡在0.1%

chen-zhan-smile commented 22 hours ago

屏幕截图 2024-11-13 172753 1.02 ,1.01都试过了,我win11系统

peipei7-1 commented 22 hours ago

mac 1.0.2 处理消息时发生错误

Hyunnicolou commented 22 hours ago

正在获取消息列表数量...: 7it [00:05, 1.93it/s]无效的响应对象: <Response [500]> 正在获取消息列表数量...: 7it [00:09, 1.43s/it] Progress: 0%| | 2/87110 [00:09<112:20:56, 4.64s/100条] 获取QQ空间互动消息发生异常: 'utf-8' codec can't decode byte 0xbe in position 492: invalid start byte

cdogbaigei commented 22 hours ago
{BDD2CFB9-8630-45E4-A21A-8A78A203D284}
Edward-keyes commented 22 hours ago

正在获取消息列表数量...: 7it [00:05, 1.93it/s]无效的响应对象: <Response [500]> 正在获取消息列表数量...: 7it [00:09, 1.43s/it] Progress: 0%| | 2/87110 [00:09<112:20:56, 4.64s/100条] 获取QQ空间互动消息发生异常: 'utf-8' codec can't decode byte 0xbe in position 492: invalid start byte

message = get_message(i 100, 100).content.decode('utf-8') 这一行修改为: message = get_message(i 100, 100).content.decode('utf-8', errors='ignore')

xu5733089 commented 22 hours ago
iShot_2024-11-13_20 47 07

mac本地拉代码好像能用

Chunbear commented 22 hours ago

单文件会报错 image

LibraHp commented 22 hours ago

修了修了

Edward-keyes commented 22 hours ago

iShot_2024-11-13_20 47 07 mac本地拉代码好像能用

被删除的记录也能获取到吗

xu5733089 commented 22 hours ago

iShot_2024-11-13_20 47 07 mac本地拉代码好像能用

被删除的记录也能获取到吗

能是能,但感觉不全

peipei7-1 commented 22 hours ago
iShot_2024-11-13_20 47 07

mac本地拉代码好像能用

怎么拉,新手求指导

shuke12306 commented 21 hours ago

我跑本地成功了,但是爬的特别特别慢

cdogbaigei commented 21 hours ago
{36B5FE33-155E-4179-86CF-06CA8BB67118}
shuke12306 commented 21 hours ago

image j就这种速度 好慢啊

zlaazlaa commented 21 hours ago

速度慢的话,关闭代理,使用手机热点。 @shuke12306

Y1ANZI commented 21 hours ago

拉到本地可以 咋拉呢大佬,我是小白不知道怎么弄,,,

baifan97 commented 21 hours ago

拉的GUI最新代码,可以运行,但是过程中还是会报错,而且感觉获取到的说说数量有点少。

DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious and fails to parse leap day. The default behavior will change in Python 3.15 to either always raise an exception or to use a different default year (TBD). To avoid trouble, add a specific year to the input & format. See https://github.com/python/cpython/issues/70647. date_obj = dateparser.parse(time_str) Traceback (most recent call last): File "d:\VSCodeProject\GetQzonehistory\main.py", line 1145, in create_card_list_view message_content = get_message(i * 100, 100).text


  File "d:\VSCodeProject\GetQzonehistory\main.py", line 1054, in get_message
    if message_content.encoding.lower() == 'utf-8':
       ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'encoding'
YC-XiaoRun commented 21 hours ago

救救:(怎么搞

SMILE-1224 commented 21 hours ago

[2024-11-13 18:27:251 - [ERROR!外理消息时发生错误: 'utf-8' codec can't decode bvte 0xbe in position 492: invalid start bvte 微信截图_20241113182823

Berumotto1 commented 21 hours ago

正在获取消息列表数量...: 7it [00:05, 1.93it/s]无效的响应对象: <Response [500]> 正在获取消息列表数量...: 7it [00:09, 1.43s/it] Progress: 0%| | 2/87110 [00:09<112:20:56, 4.64s/100条] 获取QQ空间互动消息发生异常: 'utf-8' codec can't decode byte 0xbe in position 492: invalid start byte

message = get_message(i 100, 100).content.decode('utf-8') 这一行修改为: message = get_message(i 100, 100).content.decode('utf-8', errors='ignore')

你这不是掩耳盗铃吗...

zlaazlaa commented 21 hours ago

拉的GUI最新代码,可以运行,但是过程中还是会报错,而且感觉获取到的说说数量有点少。

DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious and fails to parse leap day. The default behavior will change in Python 3.15 to either always raise an exception or to use a different default year (TBD). To avoid trouble, add a specific year to the input & format. See python/cpython#70647. date_obj = dateparser.parse(time_str) Traceback (most recent call last): File "d:\VSCodeProject\GetQzonehistory\main.py", line 1145, in create_card_list_view message_content = get_message(i * 100, 100).text ~~~^^^^^^^^^^^^^^ File "d:\VSCodeProject\GetQzonehistory\main.py", line 1054, in get_message if message_content.encoding.lower() == 'utf-8': ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'encoding'

试下这个,看看有没有用 https://github.com/LibraHp/GetQzonehistory/pull/165

shangzz2001 commented 21 hours ago

有些文件不是 utf-8 编码的,改成 gb2312 能处理掉一部分错误

zlaazlaa commented 21 hours ago

有些文件不是 utf-8 编码的,改成 gb2312 能处理掉一部分错误

gb2312编码的是限流信息

Y1ANZI commented 21 hours ago

20241113172448746 Win10系统,最新版软件。

我的现在好了,重新刷新一下试试

BDTA-zky commented 20 hours ago

我的还是卡到0%进度条不会动

zlaazlaa commented 20 hours ago

我的还是卡到0%进度条不会动

使用手机热点试试

BDTA-zky commented 20 hours ago

5c155635ed5b435c7f7cd48cc820c1f1 do动了。,但是之前都是216页,现在变成1w多页了

zlaazlaa commented 20 hours ago

5c155635ed5b435c7f7cd48cc820c1f1 do动了。,但是之前都是216页,现在变成1w多页了

从代码启动的还是使用的exe文件,代码启动的话,控制台有其他报错吗

BDTA-zky commented 20 hours ago

exe

zlaazlaa commented 20 hours ago

exe

exe目前还没有更新,可以把代码拉下来手动运行,或用这个临时的exe文件:https://github.com/zlaazlaa/GetQzonehistory/releases/tag/windows ,看一下还有没有问题

zhuning1999 commented 20 hours ago

请问是什么原因造成的呀,我比较好奇这个

BDTA-zky commented 20 hours ago

最新更新的是这样的报错 image

YC-XiaoRun commented 20 hours ago

exe

exe目前还没有更新,可以把代码拉下来手动运行,或用这个临时的exe文件:https://github.com/zlaazlaa/GetQzonehistory/releases/tag/windows ,看一下还有没有问题 可以用了

zlaazlaa commented 20 hours ago

最新更新的是这样的报错 image

腾讯新增了个拦截。。。

image
CtrlCv-w commented 20 hours ago

修了修了

大哥 我现在登录后显示的是现在的内容而不是之前删除的了

CtrlCv-w commented 20 hours ago

1731497771601

现在报新的错误了

BDTA-zky commented 20 hours ago

image 源代码git下来怎么是这样

Tyy616 commented 20 hours ago

爬的飞快 出来变0了 求解😭

Y1ANZI commented 20 hours ago

最新更新的是这样的报错 image

腾讯新增了个拦截。。。

image

大佬什么时候修复好呢呜呜呜

peipei7-1 commented 19 hours ago

exe的临时安装包可以了,但是缺很多东西,说说一条也没有image

magical1998 commented 19 hours ago

最新更新的是这样的报错 image

腾讯新增了个拦截。。。 image

大佬有没有交流群呀

zlaazlaa commented 19 hours ago

最新更新的是这样的报错 image

腾讯新增了个拦截。。。 image

拦截没了,现在应该可以用了

scwhale commented 19 hours ago

NoneType‘ object has no attribute 'lower' image

magical1998 commented 19 hours ago

最新更新的是这样的报错 image

腾讯新增了个拦截。。。 image

拦截没了,现在应该可以用了

用的临时版貌似还是会有'NoneType' object has no attribute 'lower

zlaazlaa commented 19 hours ago

最新更新的是这样的报错 image

腾讯新增了个拦截。。。 image

拦截没了,现在应该可以用了

用的临时版貌似还是会有'NoneType' object has no attribute 'lower

windows的还是mac的

xxxbetterrun commented 19 hours ago

mac端gui有新代码嘛😋

zlaazlaa commented 19 hours ago

mac端gui有新代码嘛😋

https://github.com/LibraHp/GetQzonehistory/tree/gui

xxxbetterrun commented 19 hours ago

2024 年 11 月 13 日

thx!