pymysql requests lxml html time bs4 BeautifulSoup re headers = {: } page_num = (()) num (page_num): url=.format(num+) page_text = requests.get(url=headers).text soup = BeautifulSoup(page_text) li_list = soup.find_all({: }) li li_list: company_name_tag = li.select_one() company_name_tag : company_name = company_name_tag.text company_name = company_name.strip(): company_name = product_name = li.find().text.strip()price = li.find({:}).text.strip()date = li.find({:}).text.strip()result = re.split(date) year=result[]month=result[]comment_count_tag = li.find({: }) comment_count_tag : comment_count = comment_count_tag.a.text comment_count = re.sub(comment_count) : comment_count = score_tags = li.find_all({: }) score = score_tags[].text.strip() score_tags aa=li.find({:}) (company_nameproduct_nameyearmonthpricecomment_countscore)