In [2]:
url = "http://www.tripadvisor.com/Hotels-g33046-Santa_Clara_California-Hotels.html"
In [3]:
from splinter_scrape_ta_hotels import splinter_scrape_ta_hotels
In [5]:
#splinter_scrape_ta_hotels(city_url=url, write_to_db=True)
In [7]:
#splinter_scrape_ta_hotels(city='santa_clara', state='ca')
Not sure what happened here. There seemed to be a problem with splinter. I tried running this code multiple times in a terminal window on ubuntu. I then closed that window, opened another, and it worked fine.
In [ ]: