Fork me on GitHub
摘要: ```pythonimport atexitimport loggingimport osimport signalimport sysfrom logging.handlers import RotatingFileHandlerlogger = logging.getLogger()MAX = 10 * 1024 * 1024BACK_UP_COUNT = 10def setup_loggin... 阅读全文
posted @ 2020-02-14 17:52 是阿凯啊 阅读(387) 评论(0) 推荐(0) 编辑
摘要: ```python import requests import hashlib import time import os import json class requestsTools: def __init__(self, basePath): self._basePath = basePath self._headers = {} self._cookies = {} self._file 阅读全文
posted @ 2020-02-14 17:05 是阿凯啊 阅读(244) 评论(0) 推荐(0) 编辑