|
@@ -80,14 +80,13 @@ def response(resp):
|
|
|
|
|
|
|
|
|
|
for result in dom.xpath('//div[@class="imgpt"]'):
|
|
for result in dom.xpath('//div[@class="imgpt"]'):
|
|
-
|
|
|
|
- img_format = result.xpath('./div[contains(@class, "img_info")]/span/text()')[0]
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- source = result.xpath('./div[contains(@class, "img_info")]//a/text()')[0]
|
|
|
|
-
|
|
|
|
try:
|
|
try:
|
|
|
|
+ img_format = result.xpath('./div[contains(@class, "img_info")]/span/text()')[0]
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ source = result.xpath('./div[contains(@class, "img_info")]//a/text()')[0]
|
|
|
|
+
|
|
m = loads(result.xpath('./a/@m')[0])
|
|
m = loads(result.xpath('./a/@m')[0])
|
|
|
|
|
|
|
|
|