A simple scraper to get some information from PCPartPicker, using requests and BeautifulSoup4
https://github.com/A1phyte/PCPPScraper
https://pypi.org/project/PCPPScraper/
Make a Component class with type of component, name, price, and PCPP Link and return it in getComponentsFetch Custom PricesMake pip installable?Implement Search Method for part searching- Get component type in searchComponents
- Suggest more in Issues
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(URL : str)
Gets components from PCPartPicker List URL
Returns a list of Component objects.
searchComponents(resultCount, query)
Searches for components in PCPartPicker product search
Returns a list of Component objects