【单选题】from scrapy.selector import Selector htmlText=''' H arry P otter 29.99 ''' selector=Selector(text=htmlText) _________________________ print(s) print(s.extract()) for e in s: print(e.extract()) 程序结果: [...
【单选题】from scrapy.selector import Selector htmlText=''' Harry Potter 29.99 学习 XML 39.95 ''' selector=Selector(text=htmlText) _____________________________________ print(s) print(s.extract()) for e in s: pri...