from selenium import webdriver dirver = webdriver.Firefox() dirver.get('https://music.douban.com/') for i in dirver.find_elements_by_css_selector('.new-albums .album-title'): print(i.text) 读取页面整合后的结果 import requests from lxml import html # 创建 session…