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 details)

Uploaded Source

File details

Details for the file PCPPScraper-1.5.tar.gz.

File metadata

  • Download URL: PCPPScraper-1.5.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for PCPPScraper-1.5.tar.gz
Algorithm Hash digest
SHA256 fc9a05bc582d8f527ae26d0e44ebf0c2df87a15f23d8dd427241d86e5493ebc6
MD5 ffaff6fe8ba7f1709256002b04745944
BLAKE2b-256 44405cea8ce6c7c408fd531d1cb4d4c265f0f3b5896cef768aff1e3da500d35b

See more details on using hashes here.

Supported by

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