运行后报错:
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
TypeError: crawler() takes 0 positional arguments but 1 was given
2019-08-11T06:40:00Z <Greenlet at 0x1cc4777ca48: crawler('https://www.baidu.com/')> failed with TypeError
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
TypeError: crawler() takes 0 positional arguments but 1 was given
2019-08-11T06:40:00Z <Greenlet at 0x1cc4777cb48: crawler('https://www.sina.com.cn/')> failed with TypeError
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
TypeError: crawler() takes 0 positional arguments but 1 was given
2019-08-11T06:40:00Z <Greenlet at 0x1cc4777cc48: crawler('http://www.sohu.com/')> failed with TypeError
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
TypeError: crawler() takes 0 positional arguments but 1 was given
2019-08-11T06:40:00Z <Greenlet at 0x1cc4777cd48: crawler('https://www.qq.com/')> failed with TypeError
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
TypeError: crawler() takes 0 positional arguments but 1 was given
2019-08-11T06:40:00Z <Greenlet at 0x1cc4777ce48: crawler('https://www.163.com/')> failed with TypeError
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
TypeError: crawler() takes 0 positional arguments but 1 was given
2019-08-11T06:40:00Z <Greenlet at 0x1cc47839048: crawler('http://www.iqiyi.com/')> failed with TypeError
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
TypeError: crawler() takes 0 positional arguments but 1 was given
2019-08-11T06:40:00Z <Greenlet at 0x1cc47839148: crawler('https://www.tmall.com/')> failed with TypeError
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 766, in gevent._greenlet.Greenlet.run
TypeError: crawler() takes 0 positional arguments but 1 was given
2019-08-11T06:40:00Z <Greenlet at 0x1cc47839248: crawler('http://www.ifeng.com/')> failed with TypeError