querybook.py from bs4 import BeautifulSoup from lxml import html import xml import requests import splider class QuName: def __init__(self,number): self.number = number def getPageNum(self,url): f = requests.get(url) # Get该网页从而获取该html内容 soup = Beauti…