http://stackoverflow.com/questions/15349997/assertionerror-when-threading-in-python
出错的代码:
t = threading.Thread(crawl_temp, args=(thread_count, target_url, max_depth, crawl_timeout, crawl_interval))
加上target即可:
t = threading.Thread(target=crawl_temp, args=(thread_count, target_url, max_depth, crawl_timeout, crawl_interval))
就可以了
python thread group argument must be none for now
最新推荐文章于 2022-01-06 16:20:38 发布