爬虫 beautifulsoup
Traceback (most recent call last):
File "D:\Eclipse\imooc\bike_spider\spider_main.py", line 42, in <module>
obj_spider.craw(root_url)
File "D:\Eclipse\imooc\bike_spider\spider_main.py", line 21, in craw
new_urls, new_data = self.parser.parse(new_url,html_cont)
File "D:\Eclipse\imooc\bike_spider\html_parser.py", line 39, in parse
soup = BeautifulSoup(html_cont,'html.parser',from_encoding = 'utf-8')
TypeError: object() takes no parameters