thefakequake / pypartpicker

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

Scrape only 1st page #21

Closed giuseppe99barchetta closed 6 months ago

giuseppe99barchetta commented 6 months ago

Hi, is it possible to scrape more than 20 products?

I suppose that right now the code can scrape only the 1st page of the search, right?

thefakequake commented 6 months ago

The part_search method takes a keyword argument limit, if you wish to scrape more than the first page just set the limit to >20 (there are 20 parts on each search page). The library will handle it for you.