Skip to content

tcsizmadia/iphone-price-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Scrapy Sample Project: Apple iPhone Price Scraper Bot

License

Description

This is a sample project to demonstrate how to use Scrapy to scrape data from a website. The bot scrapes the prices of Apple iPhones from Apple's official websites in different countries. The scraped data is then saved to a CSV file (by default) or any other format that is supported by Scrapy.

Please note, this is a demonstration project and should not be used for anything other than educational purposes.

Requirements

  • Python 3.6 or later
  • Scrapy

Installation

  1. Clone the repository.
  2. Install Python 3.6 or later.
  3. Install scrapy using pip:
    pip install scrapy

Usage

To run the bot, navigate to the project directory and run the following command:

cd iphone_price_bot
scrapy crawl apple_website_spider

This will run the bot and save the scraped data to a CSV file named iphone_prices.csv.

You can also save the scraped data to other formats such as JSON, XML, or even a database. For more information, please refer to the Scrapy documentation.

License

This project is licensed under the MIT License.

About

Sample Scrapy Bot for Blog Article

Topics

Resources

License

Stars

Watchers

Forks

Languages