i'm trying to access the data inside the "hp_location_block__container " container, but at the moment, even with using PhantomJS, I don't get anything back:
from selenium import webdriver
from bs4 import BeautifulSoup
if __name__ == '__main__':
url = "https://www.booking.com/hotel/tz/zuri-zanzibar.html"
driver = webdriver.PhantomJS()
driver.get(url)
html = driver.page_source
soup = BeautifulSoup(html)
soup.findAll("div", {"class": "hp_location_block__container "})
I get:
Out[1]: []