as in the title. The site for all clothing is [url removed, login to view]
Script should have 4 command line arguments: bags or clothing, starting_page, ending_page, image downloading Yes or No.
Say command line would be: python3.5 [url removed, login to view] 1 20 Yes
Data structure in final json data file:
a dictionary with (key= product ID, value = array_1)
array_1 is an array of dictionaries corresponding to different styles/colors, say
array_1 will be a dictionary with fields:
2) type (for clothing, this would be things like pants or dresses etc.; for bags this would be like shoulder bags, backbags or totes etc..)
3) array of sizes, 3) - 6) should have the same length
4) array of discounts
5) array of prices
6) array of availabilities
7) text description.
8) array of image urls: this should have all images urls for this product and this color/style; again in sample data, you dont have to download the image since its big; but in the script delivered, I have to be able to download all the images
Note that similar to farfetch, different sizes might have different discounts and prices. Different sizes will also have different availability, in-stock vs, out-of-stock. Thats why I said 3) - 6) are arrays.
If for a product there is only one style, then array_1 will just have one dictionary.