Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
189 views
in Technique[技术] by (71.8m points)

python - How to store data from web scraping poject

#Background

I am currently playing with some web scraping project as I am learning python. I have a project which scrapes products with information about price etc using Selenium. Than I add every record to pandas DF, do some additional data manipulation and than store data in csv and upload to google drive. This runs every night

#Question itself

I would like to watch price changes, new products etc. Would you recommend, how to store data with date key, so there is option to flag new products etc? My idea is to store every load in one csv and add one column with "date_of_load"... But this seems noob_like... Maybe store data in PostrgreDB? I would like to start learning SQL, so I would try making my own DB.

Thanks for your ideas


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...