Python scrapy 使用
cd getAllm3u8
cd getAllm3u8
scrapy genspider fayuan www.bafy.gov.cn/sfgk/splcgk/sdgg/index.html
scrapy crawl fayuan
names_list = container.xpath('//a').getall()
names_list = container.xpath('//a@href').getall()
cd getAllm3u8
cd getAllm3u8
scrapy genspider fayuan www.bafy.gov.cn/sfgk/splcgk/sdgg/index.html
scrapy crawl fayuan
names_list = container.xpath('//a').getall()
names_list = container.xpath('//a@href').getall()