1

I'm able to obtain a soup object by passing a html object like so:

from bs4 import BeautifulSoup as bs 

url = 'someurl.com'
html = urllib.request.urlopen(url)
soup = bs(html, "html.parser")

But the content of the element that I want does not appear until an action is taken on the page.
The soup that I obtain using this method does not have what I need.

What must I do to obtain an "updated" soup after the dom has been manipulated?

Jay Jung
  • 1,805
  • 3
  • 23
  • 46
  • Possible duplicate of [Web-scraping JavaScript page with Python](https://stackoverflow.com/questions/8049520/web-scraping-javascript-page-with-python) – spejsy Jun 18 '18 at 09:47

0 Answers0