Unfortunately the div naming for an image I am trying to scrape has an appended number, so the name is slightly different on each page I am trying to scrape.
Here is an example of the page I am trying to scrape. The URL for the large image at the top is what I'm looking for.
https://www.potterybarn.com/shop/shop-by-room/living-rooms/york-benchwright-living-room/
The pages are all linked from here:
https://www.potterybarn.com/shop/shop-by-room/living-rooms/
Here is my current site map code:
{"_id":"pb-shop-rooms-living-rooms","startUrl":["https://www.potterybarn.com/shop/shop-by-room/living-rooms/"],"selectors":[{"id":"room_links","type":"SelectorLink","parentSelectors":["_root"],"selector":".shop-room-item a","multiple":true,"delay":0},{"id":"room_name","type":"SelectorText","parentSelectors":["room_links"],"selector":".font-six b","multiple":false,"regex":"","delay":0},{"id":"room_image","type":"SelectorImage","parentSelectors":["room_links"],"selector":"#imagerollover-524928539 img","multiple":false,"delay":0}]}
I basically want to replace the number "524928539" with a wildcard so any image div that matches the pattern "#imagerollover-*" would qualify.
I searched the documentation and forum and was not able to find a solution. Thank you in advance!