我试图获得一个项目的href链接,但是我没有得到python的输出
response.css('a.cr_moreReviewsButton.p_btn100--2nd.cr_js_customReviewPageLink::attr(href)').extract()for linkhref in response.xpath("//a[@class='cr_moreReviewsButton.p_btn100-2nd.cr_js_cu
for link in soup.find_all('a', {'class': 'post-tag'}): # href = link.get('href') fori in link: title = link.string print(title)
输出: python浮点舍入python非谷歌合作python flaskpython</em