Skip to content

Srapping Angular websites #35

Closed Answered by earandap
earandap asked this question in Q&A
Discussion options

You must be logged in to vote

Using real_chrome=True. It worked. Here is the working example:

from scrapling import PlayWrightFetcher

page = PlayWrightFetcher().fetch('https://www.pulitzer.org/prize-winners-by-year', wait_selector='#winners-landing', wait_selector_state='visible', real_chrome=True)
winners = page.css('.table-cat-winners')
for winner in winners:
    print(winner.html_content)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by earandap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant