Skip to main content

A simple scraper for PCPP Lists

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PCPPScraper-1.5.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page