This website requires JavaScript.
Explore
Help
Register
Sign In
jiazhizhong
/
MediaCrawler
Watch
1
Star
0
Fork
0
You've already forked MediaCrawler
mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced
2026-02-28 11:10:45 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
codex/fix-issue-with-mediacrawler-functionality
MediaCrawler
/
media_platform
/
weibo
/
client.py
未来可欺
6a10d0d11c
原始的HTTPStatusError不能捕获像ConnectError、ReadError这些异常类型,本次提交修改了捕获异常的类型为httpx模块请求异常的基类:HTTPError,以便捕获在httpx.request方法中引发的任何异常(例如ip被封,服务器拒接连接),正确处理爬取媒体被中断时并不会导致爬取文本的中断逻辑
2025-08-06 11:24:51 +08:00
14 KiB
Raw
Permalink
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink