... import requests from bs4 import BeautifulSoup import os import sys class mzitu(): def html(self, href): html = self.request(href) a = BeautifulSoup(html.text, 'lxml').find('h2', class_='main-title') title = a.get_text() print(u'开始保存:', title) pat…