Last active
July 18, 2018 04:26
-
-
Save erikgregorywebb/945ad6a72410af5277c57500bc02a593 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(url): | |
start_time = time.time() | |
# Process | |
raw_df = getListings(url) | |
df = cleanLlistings(raw_df) | |
# Export | |
df.to_csv("/Users/erikgregorywebb/Documents/Python/ksl-scrapper/listings.csv", sep = ',') | |
print("--- %s seconds ---" % round(time.time() - start_time, 2)) | |
return df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment