Giter Club home page Giter Club logo

autocrawler's Introduction

autocrawler

This project contains a python based webcrawler using Scrapy and Selenium which collects data of used cars from autoscout24.de. The collected data was used for a reputation mechanism study title "Reputation in Used Car Market: The Effect of Seller Ratings on Offer Prices on Autoscout24.de" by A. Tobler and K. Siow done at the Department of Sociology, ETH Zürich.

1. autocrawler

This folder contains the webcrawler python scripts. The driver.py script runs the Selenium webbrowser automation which submits a search for the cars required for the data collection and iterates the results pages while storing the URLs of the individual car offers into an array. The Scrapy spider "autocrawler_base.py" then opens every URL contained in the array returned by driver.py and stores relevant information of the used cars into an object instance of the "items" class. Finally, autocrawler_base exports the collected data in a specified format (XML, CSV or JSON) for statistical analysis.

to run the spider with command line (from the autocrawler folder level) and export it into a CSV file named "export.csv":

scrapy crawl autocrawler_base -o export.csv

2. R Script 160110

This folder contains the .R and .Rdata files used for the statistical analysis of collected data. The data of used cars exported from the webcrawler dated 11.05.2015 and 25.10.2015 are available in .csv format. The .R scripts contain the functions used in order to filter the raw data into relevant data frames and to run the proper linear regression models to test the proposed hypothesis.

autocrawler's People

Watchers

James Cloos 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.