|
@@ -85,10 +85,13 @@ def response(resp):
|
85
|
85
|
# remove the link to google news
|
86
|
86
|
continue
|
87
|
87
|
|
|
88
|
+ # images result
|
88
|
89
|
if (parsed_url.netloc == google_hostname
|
89
|
90
|
and parsed_url.path == images_path):
|
90
|
|
- # images result
|
91
|
|
- results = results + parse_images(result)
|
|
91
|
+ # only thumbnail image provided,
|
|
92
|
+ # so skipping image results
|
|
93
|
+ # results = results + parse_images(result)
|
|
94
|
+ pass
|
92
|
95
|
else:
|
93
|
96
|
# normal result
|
94
|
97
|
content = extract_text(result.xpath(content_xpath)[0])
|