def parse(self, response):
item=MyfirstpjtItem()
item["urlname"]=response.xpath("/html/head/title/text()")
print(item["urlname"])
#12.7 Spider
#(1)
# -*- coding: utf-8 -*-
def parse(self, response):
item=MyfirstpjtItem()
item["urlname"]=response.xpath("/html/head/title/text()")
print(item["urlname"])
#12.7 Spider
#(1)
# -*- coding: utf-8 -*-