def get_act(self, scraper):
"""Creates Parse_XML_Action. Higher order function.
Args: @Action
"""
def act():
if not scraper.text:
Get_Action().execute(scraper)
if not scraper.text:
return
scraper.xml_tree = xml.etree.ElementTree.parse(scraper.text)
return act
评论列表
文章目录