Home > Blockchain >  How to scrape dynamic content with Selenium in Python?
How to scrape dynamic content with Selenium in Python?

Time:12-16

I'm trying to scrape the following page: enter image description here

https://www.heo.co.uk/api/article

Use the api to get the header value

import requests
payload={
  "articleNumber": "FRYU40156",
  "language": "en"
}
r=requests.post("https://www.heo.co.uk/api/article",data=payload).json()
print(r['article']['localization']['deName'])

output:

Jujutsu Kaisen 0: The Movie Hikkake PVC Statue Satoru Gojo 10 cm
  • Related