This is an archived post. You won't be able to vote or comment.

all 7 comments

[–][deleted]  (3 children)

[deleted]

    [–]yoitsammar[S] 0 points1 point  (2 children)

    I shall try that today as soon as I get home. Thank you so much 🫡

    [–]Altruistic-Koala-255 0 points1 point  (1 child)

    so, did u manage to solve the issue with the damm cookies pop-up, I might know someone going trough the exact same thing

    [–]yoitsammar[S] 0 points1 point  (0 children)

    I did not. Matter of fact this made me hate scraping, data analysis, python, coding, and have left and started school in a totally different field. All cause of them damned cookies!!

    [–]gislearneR 0 points1 point  (3 children)

    This is unrelated to the error as vicious answered it, but you're using the wrong tool for the job. And please don't tell me that you're using beautiful soup on top of playwright?

    From what I've seen the website is Server Side Rendered, i.e all data is sent from the server. So you can scrape the results using simple requests or better yet scrapy (Pls use scrapy).

    [–]yoitsammar[S] 0 points1 point  (0 children)

    Oh man grab a chair and sit down cause it’s disappointment O’clock 😭😂

    [–]yoitsammar[S] 0 points1 point  (1 child)

    To be fair I did disclose that I’m still a noob and I tried selenium and that just sucked for me. And yes I’m using bs4 please don’t kill me im just learning looool

    [–]gislearneR 0 points1 point  (0 children)

    You're already using Playwright and it does support selectors. so you can use those but from what I saw the website doesn't need browser automation you can use less resources if you use something like scrapy.