写爬虫,准备换个头进去。但是出现了这种情况
Traceback (most recent call last):
File "C:\Users\代程尹\AppData\Roaming\JetBrains\PyCharmCE2022.2\scratches\scratch_2.py", line 15, in
input = kkluvvs("http://156.237.212.70","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0")
TypeError: kkluvvs() takes no arguments
kkluvvs是我定义的一个类
劳烦兄弟帮忙看看,感谢
init少了下划线
init → init