摘要: 爬取城市名称 热门城市名称 hot_city_names = tree.xpath('//div[@class="hot"]/div[2]/ul/li/a/text()') 一般城市名称 other_city_names = tree.xpath('//div[@class="all"]/div[2 阅读全文
posted @ 2021-09-28 22:33 wddwyw 阅读(39) 评论(0) 推荐(0) 编辑