在我的一个网络爬虫中,我有一个类,它跟踪要抓取的urls,删除重复的urls,等等: def __init__(self):, starting_point) # get the url, and clerk.enqueue() all the links from这似乎是一个可以由协程执行的任务。我见过仅产生值的协程的示例,以及仅使用值的示例,但
我正在尝试学习tornado协程,但我在使用下面的代码时出错。File "D:\projekty\tornado\env\lib\site-packages\tornado\web.py", line 1334, in _executeBadYieldError: yielded unknown object 'test'from tornado.ioloop import IOLoop
from