在爬虫时执行js代码报错
node = execjs.get()
ctx = node.compile(js_code).call('webInstace.shell', data)
点击1处进入subprocess.py文件
把encoding=None 改成encoding=‘utf-8’
标签:encoding,Python,attribute,no,爬虫,replace From: https://www.cnblogs.com/yusilu-2653144/p/16626661.html