Hi fellow scrapers,
Running into a problem and desperately need support. I am scraping results off of an online store and there is infinite scrolling which is hindering me from scraping off the data from each page. Other than that, I think I am also choosing wrong selectors/scraping flow.
Could someone please be kind enough to look into my sitemap and tell me where I am messing up.
Thanks so much.
Sitemap:
{"_id":"next","startUrl":["https://www2.next.co.uk/shop/department-homeware-productaffiliation-bedding-0"],"selectors":[{"id":"page_frame","type":"SelectorElement","parentSelectors":["_root","pagination"],"selector":"div.Page.loaded.Portrait.live","multiple":true,"delay":"5"},{"id":"product_link","type":"SelectorLink","parentSelectors":["page_frame"],"selector":"a.Image","multiple":true,"delay":0},{"id":"wrapper","type":"SelectorElement","parentSelectors":["product_link"],"selector":"article.Style.Selected section.StyleCopy","multiple":true,"delay":0},{"id":"desc","type":"SelectorText","parentSelectors":["wrapper"],"selector":"div#ToneOfVoice","multiple":true,"regex":"","delay":0},{"id":"desc 2","type":"SelectorText","parentSelectors":["wrapper"],"selector":"div#WashingInstructions","multiple":false,"regex":"","delay":0},{"id":"material_composition","type":"SelectorText","parentSelectors":["wrapper"],"selector":"div#Composition","multiple":true,"regex":"","delay":0},{"id":"composition_data","type":"SelectorText","parentSelectors":["wrapper"],"selector":"div#CompositionData","multiple":true,"regex":"","delay":0},{"id":"terms_cond","type":"SelectorText","parentSelectors":["wrapper"],"selector":"div#TermsAndConditions","multiple":true,"regex":"","delay":0},{"id":"price","type":"SelectorText","parentSelectors":["wrapper"],"selector":"div.nowPrice span","multiple":false,"regex":"","delay":0},{"id":"colour-list","type":"SelectorElementClick","parentSelectors":["wrapper"],"selector":"div.dk_options","multiple":false,"delay":0,"clickElementSelector":"div.dk_container.selectBoxId a.dk_toggle","clickType":"clickOnce","discardInitialElements":false,"clickElementUniquenessType":"uniqueHTMLText"},{"id":"colour_options","type":"SelectorText","parentSelectors":["colour-list"],"selector":"parent","multiple":true,"regex":"","delay":0},{"id":"first_color","type":"SelectorText","parentSelectors":["wrapper"],"selector":"div.dk_container.selectBoxId a.dk_toggle","multiple":true,"regex":"","delay":0},{"id":"title","type":"SelectorText","parentSelectors":["wrapper"],"selector":"div.Title","multiple":false,"regex":"","delay":0},{"id":"size_options","type":"SelectorElementClick","parentSelectors":["wrapper"],"selector":"div#dk_container_Size-820-852.dk_container div.dk_options","multiple":false,"delay":0,"clickElementSelector":"div#dk_container_Size-820-852.dk_container a.dk_toggle","clickType":"clickOnce","discardInitialElements":false,"clickElementUniquenessType":"uniqueHTMLText"},{"id":"sizes","type":"SelectorText","parentSelectors":["size_options"],"selector":"parent","multiple":false,"regex":"","delay":0},{"id":"pagination","type":"SelectorElementScroll","parentSelectors":["_root","pagination"],"selector":"div.ppContainer","multiple":true,"delay":"2000"}]}