thefakequake / pypartpicker

A Python package that can be used to fetch information from PCPartPicker on products and parts lists.
MIT License
18 stars 8 forks source link

Question about scraping parts #9

Closed arjanvillon closed 3 years ago

arjanvillon commented 3 years ago

Is there a way to search / scrape by the type of product? Like for example just scrape all CPU parts. Thanks. Awesome app :)

lukadd16 commented 3 years ago

With the way the library is currently designed (which is a bit poor in my view), there currently does not exist a method that allows you to search according to specific product types.

thefakequake commented 3 years ago

At the moment, there is not a way to filter by type as it uses the PCPartPicker search endpoint which is purely by product name.

arjanvillon commented 3 years ago

Got it. If I get some free time I'll try to make a PR.