How to do Empty Cart
Hello ,
I am scraping the data of a shopping cart site and I am calling SKU of each URL one by one but each time when I click to "ADD to Cart" button , the OLD SKU is also existing in the CART using screen scraper . so I want to do "EMPTY CART" after scraping the data of each SKU.
Here are some of the URLS which are in my CSV file which I am calling while doing scraping.
http://customstudiow.microdinc.com/iteminformation.aspx?sku=1000-01FF&catalog=2000
http://customstudiow.microdinc.com/iteminformation.aspx?sku=1000-01L&catalog=2000
http://customstudiow.microdinc.com/iteminformation.aspx?sku=1000-01LF&catalog=2000
http://customstudiow.microdinc.com/iteminformation.aspx?sku=1000-RO&catalog=2000
Please help me How I can do "EMPTY CART".
Thanks
When you proxy the site, hit
When you proxy the site, hit the "empty cart" and note the corresponding request. Then you just need to make a scrapeableFile from it and run it.
Not getting your point
Hi Jason,
I am not getting your point. Please explain it more clearly with one example if you can.
Thanks
Shyam
It's too involved for me to
It's too involved for me to make a sample for you. It's just a plain old POST request to run the empty cart, and you just need to proxy it so you can make a scrapeableFile to make the same request.