Skip to content

The Car Scraper project provides insights into web scraping, which involves fetching data from websites. It helps users understand the process of fetching information from a website, mimicking how a web browser interacts with web pages.

Notifications You must be signed in to change notification settings

MuLIAICHI/Car-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Scraper Project Documentation 🚗💻

Welcome to the documentation for the Car Scraper project! This project is an application built in Python using the PyQT5 library to create a Graphical User Interface (GUI) for scraping a cars website and extracting details in the form of a JSON file. This documentation will provide an overview of the project structure, installation instructions, and usage guidelines.

Demo Image 📷

Take a look at the demo image below:

Demo Image

This image provides a visual representation of the Car Scraper application in action. Please note that it is for illustrative purposes and doesn't contain interactive elements like the actual application. To experience the full functionality, please follow the installation and usage instructions mentioned earlier.

Project Structure 📂

Here's an overview of the project's file structure:

  • README.md: The main file you're currently reading, providing project documentation.
  • requirements.txt: A text file listing the required Python libraries and their versions.
  • docs/: A directory containing additional documentation files, if any.
  • app/: The heart of the project, containing the application code.
    • main.py: The entry point of the application that initializes the GUI.
    • scraper.py: The module responsible for scraping the cars website and generating the JSON file.
    • gui.py: The module implementing the GUI using PyQT5.
  • tests/: A directory containing unit tests for the application.
    • test_main.py: Test cases for the main.py module.
    • test_scraper.py: Test cases for the scraper.py module.
  • images/: A directory holding image files related to the project.

Installation 🛠️

To set up the Car Scraper project on your machine, please follow these steps:

  1. Clone the repository from GitHub: git clone https://github.com/your-username/car-scraper.git
  2. Navigate to the project directory: cd car-scraper
  3. Install the required dependencies using pip: pip install -r requirements.txt

Usage 🚀

To use the Car Scraper application, follow these steps:

  1. Make sure you have completed the installation steps mentioned above.
  2. Open a terminal or command prompt.
  3. Navigate to the project directory: cd car-scraper/app
  4. Run the main.py file: python main.py
  5. The Car Scraper GUI will appear, allowing you to interact with the application.
  6. Enter the website URL of the cars you want to scrape.
  7. Click the "Scrape" button to start the scraping process.
  8. Once the scraping is complete, you will be prompted to choose a location to save the generated JSON file.
  9. Select the desired location and click "Save."
  10. Congratulations! You have successfully scraped the cars website and saved the details in a JSON file.

Contributing 🤝

We welcome contributions to enhance the Car Scraper project! If you'd like to contribute, please follow these steps:

  1. Fork the repository on GitHub.
  2. Make the necessary changes and improvements.
  3. Test your changes thoroughly.
  4. Submit a pull request detailing the changes you made.

We appreciate your contributions and efforts to make the Car Scraper even better! 😊

Feedback and Support 💌

If you have any feedback, suggestions, or need support, please feel free to reach out to us. You can contact our team at [email protected]. We are here to assist you and make your experience with the Car Scraper project as smooth as possible.

Conclusion 🎉

Thank you for choosing the Car Scraper project! We hope you find it useful for scraping cars websites and extracting details effortlessly. Happy scraping! 🚗

About

The Car Scraper project provides insights into web scraping, which involves fetching data from websites. It helps users understand the process of fetching information from a website, mimicking how a web browser interacts with web pages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages