def massCrawl(seedFile, path):

    #connect to Google
    connector = pyGTrends(google_username, google_password)
    time.sleep(randint(200,600))
    print("connected to google!")
    print("opening seed file..")
    with open(seedFile) as f:
        reader = csv.reader(f)
        for row in reader:
            if row:
                crawl(connector,row[0], path)
def massCrawl(seedFile, path):

    #connect to Google
    connector = pyGTrends(google_username, google_password)
    time.sleep(randint(200, 600))
    print("connected to google!")
    print("opening seed file..")
    with open(seedFile) as f:
        reader = csv.reader(f)
        for row in reader:
            if row:
                crawl(connector, row[0], path)
def crawlOneTime(keyword):
    connector = pyGTrends(google_username, google_password)
    print("connected to google!")
    crawl(connector,keyword,path)
def crawlOneTime(keyword):
    connector = pyGTrends(google_username, google_password)
    print("connected to google!")
    crawl(connector, keyword, path)