Skip to content

A simple scraper to get the components in a PCPartPicker URL

License

Notifications You must be signed in to change notification settings

bryanyli/PCPPScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple scraper to get the components in a PCPartPicker URL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages