0
I need to scrape the information from this page here.
In the developer tools, I found this link with the necessary answers.
The problem is that the link with the answers opens only if the site is previously open.
Try to open the link with the answers in an anonymous tab and you will see everything blank.
code:
import scrapy
class AaidSpider(scrapy.Spider):
name = 'agm'
starts_urls = [
'https://www.agmgranite.com/paginate.php?page=1&lid=3&f=reset&invp='
]
def parse(self, response):
print(response.body)
reply:
[]
How to scrape these answers if you need the open site?
That’s what I needed, I got the cookies via Lenium and it worked! Thank you :)
– João Vitor Fontes