Code Monkey home page Code Monkey logo

autoscout24_scraping's Introduction

Autoscout24 Scraping and Polynomial Regression Project

GitHub license

This project is a Python-based web scraping and data analysis tool designed to collect vehicle listings from the Autoscout24 website. It aims to perform polynomial regression on the average prices of vehicles, binned by thousands of miles, and select the best polynomial degree using k-fold cross-validation.

Table of Contents

Overview

Autoscout24 is a popular platform for buying and selling vehicles. This project allows you to gather vehicle listings and perform polynomial regression analysis on the average prices, categorized by mileage. By scraping Autoscout24's web pages, extracting metadata, and running regression analysis, you can gain insights into how mileage affects vehicle prices.

Features

  • Web scraping of Autoscout24 listings.
  • Extraction of metadata from the HTML web code.
  • Polynomial regression analysis on average prices.
  • Selection of the best polynomial degree via k-fold cross-validation.

Requirements

Before using this project, ensure you have the following dependencies installed:

  • Python 3.x
  • Libraries in requirements.txt

To install the required libraries, you can run the following command:

pip install -r requirements.txt

Usage

  1. Clone the repository to your local machine:
git clone https://github.com/lorenzoelia/autoscout24_scraping.git
  1. Navigate to the project directory:
cd autoscout24_scraping
  1. Create the listings folder (if it doesn't already exist):
mkdir listings
  1. Run the Python script to perform the scraping and polynomial regression:
python main.py
  1. The script will collect listings, preprocess the data, run regression analysis, and select the best polynomial degree.

  2. The results will be saved to files within the listings folder.

  3. Review the generated CSV files for listings and processed data.

License

This project is licensed under the MIT License - see the LICENSE file for details.

MIT License

autoscout24_scraping's People

Contributors

lorenzoelia avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.