fix very stupid mistake
parent
b69869a040
commit
1124d81489
|
@ -46,7 +46,7 @@ class GFontsSpider(scrapy.Spider):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def findGFonts(self, response):
|
def findGFonts(self, response):
|
||||||
for links in response.css('head links'):
|
for links in response.css('head link'):
|
||||||
if 'fonts.googleapis.com' in links.attrib['href']:
|
if 'fonts.googleapis.com' in links.attrib['href']:
|
||||||
yield {
|
yield {
|
||||||
'url': response.url,
|
'url': response.url,
|
||||||
|
|
Loading…
Reference in New Issue