python爬虫demo01 1 import requests, json, time, sys 2 from bs4 import BeautifulSoup 3 from contextlib import closing 4 5 url = 'https://image.xiaozhustatic1.com/12/9,0,27,3473,1800,1200,d064ccfb.jpg' 6 headers = { 7 'User-Agent': 'Mozilla/5.0 (Windows…