Skip to content Skip to sidebar Skip to footer

Beautifulsoup And Link With A Hash #

I'm using Beautifulsoup with Python. I try to get elements from a link containing a hash #. It's a pagination link, the part after the # is the page number. It doesn't work, I unde

Solution 1:

I found a way doing this using BeautifulSoup to crawl the DOM and Selenium to handle these links containing a #. Just passing the link containing the # to Selenium driver with driver.get("www.myserver.com/products#/page-2") works.


Post a Comment for "Beautifulsoup And Link With A Hash #"