selfshore / spiders

模拟百度登陆(百度指数),去哪儿航班爬虫,极验滑块,船讯网数据解密,大众点评登录,知乎登录,同盾滑块,腾讯滑块,易盾滑块,企业公示系统(过加速乐),微店登录,拼多多anticontent
MIT License
363 stars 164 forks source link

企业公示系统gbk编码错误 #13

Open selfshore opened 3 years ago

selfshore commented 3 years ago

修改execjs包下的_external_runtime.py里99行,p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, cwd=self._cwd, universal_newlines=True, encoding='utf-8') 加上 encoding = 'utf-8'即可