02 2022 档案
摘要:安装nvm 下载地址:https://github.com/coreybutler/nvm-windows/releases 下载前卸载调node,安装时注意记住所在路径,傻瓜式安装。安装后nvm -v进行验证。 配置nvm nvm安装目录下的配置文件setting.txt,打开后后面加一行即可:
阅读全文
摘要:针对json文件 import json import os class SpyOppoPipeline: def __init__(self): self.file = open('曹姐.json', 'wb+') def open_spider(self, spider): self.file.
阅读全文