Skip to content

E-Shop Scrapper PRO is a Python script that scrapes product data from an e-commerce website and exports it to a CSV file. It utilizes web scraping techniques to extract information such as product names, categories, prices, descriptions, and images.

License

Bfas237/E-Shop-Scrapper-PRO

Repository files navigation

E-Shop Scrapper PRO

License

Table of Contents

image

Description

E-Shop Scrapper PRO is a Python script that scrapes product data from an e-commerce website and exports it to a CSV file. It utilizes web scraping techniques to extract information such as product names, categories, prices, descriptions, and images. The script is designed to be highly customizable and can be adapted to scrape data from different e-commerce websites.

Features

  • Scrapes product data from an e-commerce website
  • Extracts product names, categories, prices, descriptions, and images
  • Generates a random date and time for each scraped product
  • Supports customization for different e-commerce websites
  • Writes the scraped data to a CSV file
  • Displays a progress bar during the scraping process

Prerequisites

Before using E-Shop Scrapper PRO, make sure you have the following knowledge and tools:

  • Basic understanding of Python programming language
  • Familiarity with PHP, HTML and CSS
  • Familiar with how Woocommerce, and Wordpress works
  • Python 3 installed on your system (Download Python)

Python Installation

  1. Install Python: If Python is not already installed on your system, follow these steps:

    • Visit the official Python website at https://www.python.org.
    • Go to the Downloads section and select the appropriate Python version for your operating system (Windows, macOS, or Linux).
    • Download the installer and run it.
    • Follow the installation wizard instructions and make sure to check the box that says "Add Python to PATH" during the installation process.
    • Once the installation is complete, open a command prompt (Windows) or terminal (macOS/Linux) and type python --version to verify that Python is installed correctly. You should see the version number of Python printed in the console.
  2. Verify Python installation: Open a command prompt or terminal and run python --version to ensure that Python is installed and accessible from the command line. You should see the version number of Python displayed.

Now that Python is installed, you can proceed with setting up the project and installing the dependencies as outlined in the rest of the README file.

Installation

There are two ways to install E-Shop Scrapper PRO: using a release package or by forking and cloning the repository.

Installation via Release

  1. Go to the Releases page of the GitHub repository.

  2. Download the latest release package (E-Shop-Scrapper-PRO.zip).

  3. Extract the contents of the ZIP file to your desired location.

  4. Open a command prompt or terminal and navigate to the extracted directory.

  5. Run the following command to install the required dependencies:

    pip install -r requirements.txt

Installation by Forking and Cloning

  1. Fork the E-Shop Scrapper PRO repository to your GitHub account.

  2. Clone the forked repository to your local machine using the following command:

    git clone https://github.com/bfas237/E-Shop-Scrapper-PRO.git
  3. Navigate to the cloned directory:

    cd EScraperPRO
  4. Run the following command to install the required dependencies:

    pip install -r requirements.txt

Requirements

  • requests
  • beautifulsoup4
  • pandas
  • tqdm
  • tabulate
  • aiofiles

Files

The repository contains the following files:

  • EScraperPRO.py: The main Python script for scraping the e-commerce website.
  • requirements.txt: A file specifying the required Python packages.
  • utils/ua.txt: A file that contains Predefined and trusted UserAgents.
  • EScraperPRO.config: A required Config file that is required for the proper functioning of the scrapper.
  • secure.config: A required Secure Config file that is required for the proper functioning of the scrapper.
  • LICENSE: The license file for the project.

Usage

  1. Open your command prompt

  2. Run the command:

python EScraperPRO.py http://shopurl.com
  1. Replace the Url with that of your shop. Wait for the scraping process to complete. The progress bar will indicate the progress.

  2. After completion, the CSV file rcfminibikes.csv will be generated in the same directory.

  3. Open the CSV file to view the scraped data.

Contributing

Contributions are welcome! Here's how you can contribute to the E-Shop Scrapper PRO project:

  1. Fork the repository.

  2. Create a new branch:

git checkout -b feature/your-feature
  1. Make your changes and commit them:
git commit -m 'Add your feature'
  1. Push the changes to your forked repository:
git push origin feature/your-feature
  1. Open a pull request on the main repository.

Please make sure to follow the code style and provide clear commit messages.

Issues

If you encounter any issues or have suggestions for improvements, please create a new issue on the GitHub repository.

License

This project is licensed under the MIT License.

Contact

For more information or questions, you can reach us on:


Thank you for using E-Shop Scrapper PRO. Happy scraping!

About

E-Shop Scrapper PRO is a Python script that scrapes product data from an e-commerce website and exports it to a CSV file. It utilizes web scraping techniques to extract information such as product names, categories, prices, descriptions, and images.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages