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

[BUG]扫码登录获取cookies异常 #608

Open
puguojingm opened this issue Nov 30, 2023 · 10 comments
Open

[BUG]扫码登录获取cookies异常 #608

puguojingm opened this issue Nov 30, 2023 · 10 comments
Assignees
Labels
已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push) 重复(duplicate) 与已有的反馈或需求重复(This issue or pull request already exists) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)

Comments

@puguojingm
Copy link

扫码登录,确认登录后失败
扫码登录过后,确认登录获取状态失败。
Login模块的check_qrconnect中,无法获取到status=3 状态。手机端确认登录过后response data 返回为空。 获取cookies失败。部分返回

截图
如果适用,添加屏幕截图以帮助解释您的问题。
image

可能增加了风控

@puguojingm puguojingm added the 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies) label Nov 30, 2023
@WalterDSU
Copy link

同样问题

@475333676
Copy link

相同的问题

@6986552
Copy link

6986552 commented Dec 1, 2023

是抖音增加参数了,手动获取手动填入。

@WYF03
Copy link

WYF03 commented Dec 4, 2023

是抖音增加参数了,手动获取手动填入。

怎么搞?

@6986552
Copy link

6986552 commented Dec 4, 2023

是抖音增加参数了,手动获取手动填入。

怎么搞?

用浏览器获取cookie,具体百度

@puguojingm
Copy link
Author

是抖音增加参数了,手动获取手动填入。

怎么搞?

手动很简单 抖音网页版 按F12或鼠标右键检查,看接口的header种的cookie就行,不过这种是绕过bug,不是解决bug。其实cookie种重要的也就是odin_tt,sessionid_ss,passport_csrf_token,ttwid,msToken这5个参数。

@Virtual-human
Copy link

1.浏览器打开抖音平台https://www.douyin.com
2.右键检查
3.打开网络或者network
4. 打开一个请求找到标头或者headers
5.找到cookie全部复制到conf.ini -> # 置空程序会自动扫码获取cookie
cookie =
微信截图_20231206231843

Uploading 微信截图_20231206232047.png…

@symant233
Copy link

odin_ttsessionid_ssttwidpassport_csrf_tokenmsToken

odin_tt=xxx;sessionid_ss=xxx;ttwid=xxx;passport_csrf_token=xxx;msToken=xxx;

试了下可以用了

@matt38697778
Copy link

同样问题,只能手动填cookies

@Johnserf-Seed Johnserf-Seed added 重复(duplicate) 与已有的反馈或需求重复(This issue or pull request already exists) 已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push) labels Dec 26, 2023
@Johnserf-Seed
Copy link
Owner

今晚推送1.5版本,统一修复所有问题,已适配TikTok,多端点下载,API调用等。https://github.com/Johnserf-Seed/f2
文档晚些时间更新。https://johnserf-seed.github.io/f2/

Johnserf-Seed added a commit that referenced this issue Dec 31, 2023
…#220 #223 #230 #242 #258 #260 #295 #312 #313 #320 #322 #332 #335 #341 # #343 #346 #348 #355 #357 #360 #361 #362 #364 #367 #370 #372 #373 #374 #376 #377 #379 #380 #381 #382 #383 #393 #394 #395 #396 #398 #399 #400 #401 #402 #403 #404 #405 #407 #408 #410 #412 #414 #416 #423 #424 #426 #432 #435 #438 #442 #443 #449 #450 #455 #456 #457 #459 #460 #465 #467 #470 #472 #473 #474 #475 #481 #482 #483 #488 #492 #493 #499 #502 #503 #504 #505 #507 #509 #512 #514 #524 #525 #530 #539 #540 #541 #547 #550 #554 #558 #563 #568 #569 #572 #574 #575 #576 #577 #578 #582 #583 #584 #587 #589 #590 #594 #595 #597 #598 #600 #601 #604 #605 #606 #608 #611 #617 #618 #619

[Added]
1. 新增了对直播间信息的详细获取和下载功能。
2. 添加详细直播间信息的下载支持。
3. 引入了提取评论的功能。
4. 新增支持下载 TikTok 数据,包括发布作品、喜欢作品、图集作品等。
5. 提供了自动生成 XB 参数的接口,支持真实和虚假的 msToken。
6. 引入接口数据过滤器,提高数据采集和处理效率。
7. 增加支持长短链解析的功能。
8. 新增了对合集作品的详细获取和下载功能。
9. 引入了 SSO 扫码登录和自动获取Cookie的功能,可通过 `--auto-cookie` 参数实现。

[Changed]
1. 优化了异步下载的网络并发数、超时重试设置,降低采集错误率。
2. 修改了文件检查逻辑,添加了黑名单选项,不再检查黑名单中的作品是否存在。(未来)
3. 对命令行交互进行了调整,添加了更多的配置选项,提供了更灵活的 CLI 模式。
4. 改进了版本更新机制,全新开发的 F2 现在依赖 pip 进行升级。
5. 对于多用户配置,现在可以为不同用户建立不同的配置与下载模式。

[Security]
1. 修复了可能导致信息泄露的漏洞。

[Deprecated]
1. 废弃了一些低版本接口的相关功能,建议使用更新的接口。

[Fixed]
1. 修复了一些在异步下载中可能导致的错误。
2. 修复了一些异步下载线程控制的错误。

[Removed]
1. 移除了不再支持的功能和接口。

[Documentation]
1. 更新了文档,提供了更详细的配置和使用说明。
2. 补充了开发者必读的内容,包括配置文件、调试日志级别等。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push) 重复(duplicate) 与已有的反馈或需求重复(This issue or pull request already exists) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)
Projects
None yet
Development

No branches or pull requests

9 participants