def func_9(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('seattle century link field') print('') print(places)
def func_8(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('petrolina pizzaria recanto pastelaria') print('') print(places)
def func_1(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('estatua da liberdade') print('') print(places)
def func_6(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('milwaukee art museum') print('') print(places)
def func_7(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('chicago field museum') print('') print(places)
def func_5(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('torre de toquio') print('') print(places)
def func_4(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('muralha da china') print('') print(places)
def func_3(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('cristo redentor') print('') print(places)
def func_2(): crawler = GMapsCrawler(debug=False, delay=5) places = crawler.get_places('hollywood sigh') print('') print(places)
from gmapscrawler.gmapscrawler import GMapsCrawler if __name__ == '__main__': # GMapsCrawler instatiation crawler = GMapsCrawler(debug=True) # example of a search string search_str = 'pizzaria petrolina' # uses search string to get a list titles titles = crawler.get_titles(search_str) print(titles) # uses search string to get a list of detailed places places = crawler.get_places(search_str) print(places)