问题遇到的现象和发生背景
用代码块功能插入代码,请勿粘贴截图
我想要达到的结果
写爬虫,准备换个头进去。但是出现了这种情况
Traceback (most recent call last):
File "C:\Users\代程尹\AppData\Roaming\JetBrains\PyCharmCE2022.2\scratches\scratch_2.py", line 15, in <module>
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是我定义的一个类
劳烦兄弟帮忙看看,感谢