Python Scraping Product Id using Form Key Data

266 views Asked by At

Can I use a Python script in conjunction with an add to cart form key to scrape for product id's by increasing the product id by "1" and reporting back when ID's are found?

The form action takes the form of:

URL/checkout/cart/ajaxadd/uenc/product/75668/form_key/123456

The 75668 in the above URL is the product ID that I would like to run through a loop and count up, reporting back ID's as they are found.

Is there a certain resource or any direction that I can be pointed to?

0

There are 0 answers