Coder Social home page Coder Social logo

pcppscraper's Introduction

PCPPScraper

A simple scraper to get some information from PCPartPicker, using requests and BeautifulSoup4

Github Link:

https://github.com/A1phyte/PCPPScraper

PyPI Link:

https://pypi.org/project/PCPPScraper/

To Do:

  • Make a Component class with type of component, name, price, and PCPP Link and return it in getComponents
  • Fetch Custom Prices
  • Make pip installable?
  • Implement Search Method for part searching
  • Get component type in searchComponents
  • Suggest more in Issues

Documentation:

Component

self.type = Type of component (CPU, GPU, etc.)

self.name = Name of component (2200G, 2080 Ti, etc.)

self.link = Link of component (https://pcpartpicker.com/product/RkJtt6/amd-ryzen-3-2200g-35ghz-quad-core-processor-yd2200c5fbbox)

self.price = Price of component. Price is 'unknown' if there is no price or there is a custom price.

getComponents

getComponents(URL : str)

Gets components from PCPartPicker List URL

Returns a list of Component objects.

searchComponents

searchComponents(resultCount, query)

Searches for components in PCPartPicker product search

Returns a list of Component objects

pcppscraper's People

Stargazers

 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.