C:\Users\Administrator\AppData\Local\Programs\Python\Python35\python.exe D:/python/style/style-1/bianliang-01.py
Traceback (most recent call last):
File "D:/python/style/style-1/bianliang-01.py", line 64, in
app.get_content()
File "D:/python/style/style-1/bianliang-01.py", line 45, in get_content
all_h2=self.get_all_h2() #所有的数据都获取出来了
File "D:/python/style/style-1/bianliang-01.py", line 34, in get_all_h2
html = self.get_one_page_html()
File "D:/python/style/style-1/bianliang-01.py", line 27, in get_one_page_html
re = requests.get(self.url, self.headers)
TypeError: get() takes 1 positional argument but 2 were given
Process finished with exit code 1
#这算是成功了还是出错了呢?