Поскольку он отправляет запрос GET для получения информации об объекте, вы должны повторить то же самое в своем коде. (Вы можете наблюдать вызов GET в консоли -> Сеть -> XHR)
# -*- coding: utf-8 -*-
import scrapy
class GranaSpider(scrapy.Spider):
name = 'grana'
allowed_domains = 'www.graana.com'
start_urls = ['https://www.graana.com/api/area/slug/601']
def parse(self, response):
# for url in allurlList:
scrapy.http.Request(response.url, method='GET' , dont_filter=False)
print(response.body)
#convert json response to array and save to your storage system
Вывод в формате json, преобразуйте его для вашего удобства.
