摘要: import urllib.request import urllib.parse import urllib.error import re import os import ssl ssl._create_default_https_context = ssl._create_unverified_context path = "./images" headers = { "User-Agen 阅读全文
posted @ 2019-12-21 13:30 MakeCoder 阅读(279) 评论(0) 推荐(0) 编辑
摘要: import threading import time import requests import json from queue import Queue from lxml import etree class CrawlThread(threading.Thread): '''doc string for crawl thread''' def __init__(self, name, 阅读全文
posted @ 2019-12-21 13:23 MakeCoder 阅读(2147) 评论(0) 推荐(0) 编辑