HolubievIllya / ekatalog_phone_scraper

It's a simple parser which scrape the information from ek.ua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ekatalog_phone_scraper

This is a Python script for scraping information about phones from the ekatalog website and storing it in a CSV file.

Requirements

  • Python 3.10
  • BeautifulSoup4
  • Requests
  • Fake User Agent

Installation

  1. Clone or download the repository.
  2. Install the required packages using pip:

    pip install beautifulsoup4 requests fake-useragent

  3. Run the script.

Usage

The script will scrape phone information from the website ek.ua and store it in a CSV file named with the current date in format "DD-MM-YYYY HOURS-MINUTES-SECONDS.csv". The CSV file will contain the following columns:

  • Товар (Product)
  • Ціна (Price)
The script will scrape all pages of the website and collect information for all phones on the website. The script uses fake user agent to avoid being detected as a scraper and get blocked by the website. In addition you can try scrape any product from ek.ua, just change the url.

Contributing

If you find any issues or have any suggestions for improvement, please open an issue or submit a pull request.

About

It's a simple parser which scrape the information from ek.ua


Languages

Language:Python 100.0%