Giter Club home page Giter Club logo

steam.com-scraping's Introduction

AvatarFinder + MarketFinder

Specify the range of data to be scraped by specifying the Min Price and Max Price values.

| | | | | | :---Scraping data whose price is between 30 and 100---: | :---Scraping data whose price is between 300 and 400---: |

requirements

  • Python 3
  • PostgreSQL + 150GB SSD Storage

create tables and indexes in psql

CREATE TABLE listings(
    id SERIAL PRIMARY KEY,
    item_name VARCHAR(200),
    time timestamp,
    price int,
    owner_name VARCHAR(200),
    owner_avatar VARCHAR(200),
    profile_link VARCHAR(200),
    CONSTRAINT owner_item_constraint UNIQUE(owner_name, item_name, price, profile_link)
);

CREATE INDEX ON listings(owner_name);
CREATE INDEX ON listings(item_name);
CREATE INDEX ON listings(price);
CREATE INDEX ON listings(profile_link);

populate database with users

set API_KEY environment variable, edit steamid range if necessary and run databaseupdater.py

collect listings from steam

run listingcollector.py. it takes items from listings.json. you can re-generate dictionary with helpers.collect_item_urls and helpers.parse_id

web-server

flask code is contained in app.py

steam.com-scraping's People

Contributors

danielbraine avatar 0xbnck avatar

Stargazers

Shahrad Elahi avatar Tran Quang Tien avatar Mauricio A. avatar 0xPePe avatar IntelK avatar Harry avatar 0xGeny avatar SeniorDev avatar  avatar  avatar Daniel A avatar DigitalMaestro89 avatar Enigma avatar  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.