Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[问题] 想更换账号但是没有找到browser_data文件夹? #549

Open
2 of 3 tasks
SonyaXu opened this issue Feb 16, 2025 · 1 comment
Open
2 of 3 tasks

[问题] 想更换账号但是没有找到browser_data文件夹? #549

SonyaXu opened this issue Feb 16, 2025 · 1 comment
Labels
question Further information is requested

Comments

@SonyaXu
Copy link

SonyaXu commented Feb 16, 2025

⚠️ 提交前确认

  • 我已经仔细阅读了项目使用过程中的常见问题汇总
  • 我已经搜索并查看了已关闭的issues
  • 我确认这不是由于滑块验证码、Cookie过期、Cookie提取错误、平台风控等常见原因导致的问题

❓ 问题描述

爬取小红书保存在json两次后(每次爬取了200条左右),保存方法选择了database并完成了相关操作。第三次爬取时候依然选择了200条,延迟时间设置成随机,但是成功爬了几条就显示了一连串的get note detail error,我想可能是被风险管控了,于是打算去更换小红书账号,看了问题汇总却没有在根目录找到browser_data文件夹,请求帮助。

🔍 使用场景

  • 目标平台: 小红书
  • 使用功能: 关键词搜索

💻 环境信息

  • 操作系统:
  • Python版本: 3.11
  • 是否使用IP代理:
  • 是否使用VPN翻墙软件:都试过
  • 目标平台(抖音/小红书/微博等): 小红书

📋 错误日志

在此粘贴完整的错误日志

📷 错误截图

Image
@SonyaXu SonyaXu added the question Further information is requested label Feb 16, 2025
@ricardodddduck
Copy link

我也遇到这个问题,暂时不清楚报错原因,研究了一下有一个切换账号的笨方法:

第一步:
在SAVE_LOGIN_STATE = Ture的设置下
在文件夹media_platform\xhs\core.py加入

Image
这一行代码,目的是清除浏览器的cookie

第二步:
然后正常方式启动
登录你要切换的账号再退出
先回到代码删除这一行,再正常运行就可以,就会是你切换的新账号

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants