crawl a website with scrapy. The data is generated by js. The script, extracted by xpath is obtained as follows:
define("page_data",
{
"uiConfig": {
"type": "root",
"items":[
{
"comid": "itemBasic",
"items":[
{
"id":123,
"data":
}
]
}
]
}
}
);
is there any way to get it? Due to the large number of requests, selenium.
is not considered for the time being. Is there any way to manipulate this data like js, for example, such as js.
or regular words how to match?