wistbean / wistbean/learn_python3_spider
爬虫14 ThreadPoolExecutor 使用有点错误
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 22.1k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
爬虫14 ThreadPoolExecutor 使用有点错误
pool.submit(moyu_time('xiaoshuaib'+str(i),1,3))
应该是
pool.submit(moyu_time,'xiaoshuaib'+str(i),1,3)
否则根本就不是多线程了
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the crawler example containing the ThreadPoolExecutor call and compare the current pool.submit usage with the issue's corrected form. Verify that the callable and its arguments are submitted separately, then run the example and confirm that the work is executed through the thread pool.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100