NanmiCoder / NanmiCoder/MediaCrawler

请问知乎回答现在可以正常采集吗

Open
#534 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
65.3k
Forks
12.6k
PR merge metrics
No merged PRs in 30d

Description

试了一下午好像都不行,各种报错,这是ChatGPT给我的原因:

根据错误日志,主要的问题是 ReadTimeout 错误,这意味着程序在请求数据时超时未能获得响应。详细分析如下:

SSL/TLS 异常:在读取 SSL 数据时出现了 SSLWantReadError,这是一个常见的非阻塞错误,通常与网络连接、SSL 握手或数据读取延迟相关。然后程序尝试重新执行读取操作,但由于超时未能成功完成。

TimeoutError:在请求过程中发生了 TimeoutError,这表明请求超时。tenacity 库在重试多次后依然失败,最终抛出了 RetryError。

错误传播:这个超时错误在多个调用栈中传播,最后在 asyncio 的事件循环中导致了失败。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing Zhihu answer collection from the issue’s reported ReadTimeout and SSL/TLS errors, then inspect the request retry path involving tenacity and asyncio. Done means establishing whether collection currently works and, if not, identifying a reproducible failure and verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.