Mar-26-2020, 03:44 AM
I often use selenium to expand all of the JavaScript, then switch to Beautifulsoup
then you can use find, or find_all.
example:
then you can use find, or find_all.
example:
browser.get(self.mapurl) time.sleep(2) source = browser.page_source soup = BeautifulSoup(source, 'lxml')