Member-only story
How to Scrape Target.com for laptop price and store the data into Excel via Python (Colab)?
Published in
4 min readJan 13, 2023
Purpose
We are trying to search and grab the laptop information at Target.com by sending request via Python, finding the right requests, parameters, headers, etc. and parsing the data so that we can import it as structured data.
Tool
- Python package: requests, pandas, google.colab
- Python Colab notebook
- Google Chrome
- https://curlconverter.com/python/
Target Website
Steps
- Go to the target website, open Network tab in Chrome and press Fetch/ XHR.