摘要:
import htmlimport etree selector = etree.HTML(res) url_h2 = selector.xpath("//a[@_stat='video:poster_v']/../h2")[0]url_div = selector.xpath("//a[@_sta 阅读全文
摘要:
import htmlimport etree selector = etree.HTML(res) url_h2 = selector.xpath("//a[@_stat='video:poster_v']/../h2")[0]url_div = selector.xpath("//a[@_sta 阅读全文
摘要:
data 是传过去的值 过滤器 | {{data.name | safe}} 阅读全文
|