I'm trying to scrape LinkedIn using selenium. Here's a page for example: https://www.linkedin.com/vsearch/p?firstName=mark
I can see in the html that the search results are in the:
<div id='results-col'> ... </div>
but when I try to access this tag using Beautifulsoup:
browser = webdriver.PhantomJS(executable_path=PATH) browser.get(url) bs_obj = BeautifulSoup(browser.page_source, "html.parser") results_col = bs_obj.find("div", {"id": "results-col"})
I get nothing(results_col=None). What am I doing wrong?