Can't get link from javascript link image (aliexpress)

Hello! I'm trying to make a spreadsheet of my aliexpress wishlist because I really like spreadsheets, the issue is that when I input this sitemap (or a recreation of it, I would feel weird attaching my wishlist) and use link from any script it returns an error of [object Object]. I suspect it has something to do with how aliexpress handles changing tabs, but I don't know enough to figure it out, I'd love help! also, I haven't included the multiplicity of the elements because I figure that'd complicate it and this showcases my issue.

Url: AliExpress - Online Shopping for Popular Electronics, Fashion, Home & Garden, Toys & Sports, Automobiles and More.sbod12_gcl_auODg1ODkyMzA4LjE3MzI3NDgwMzA._gaMTIxNDIzMjU1OS4xNzMyNzQ2MDUy_ga_VED1YSGNC7*MTczMjg0MzcwNi45LjEuMTczMjg0NTAyMy42MC4wLjA.&gatewayAdapt=glo2usa&browser_redirect=true

Sitemap:

{"_id":"recreation","startUrl":["https://www.aliexpress.us/?spm=a2g0s.8937460.logo.1.fe7aMHFlMHFliR&gatewayAdapt=glo2usa"],"selectors":[{"id":"element","multiple":true,"parentSelectors":["_root"],"selector":"a[data-spm-anchor-id='a2g0o.best.moretolove.6']","type":"SelectorElement"},{"id":"name","multiple":false,"parentSelectors":["element"],"regex":"","selector":"div[title]","type":"SelectorText"},{"id":"price","multiple":false,"parentSelectors":["element"],"regex":"","selector":"div._1okBC","type":"SelectorText"},{"id":"link","linkType":"linkFromRedirect","multiple":false,"parentSelectors":["element"],"selector":"img.rc-modules--image--juUYhtJ","type":"SelectorLink"}]}

Thanks for reading all this!

Hi, is it possible to create a dummy account with a wishlist, so I can access the specific HTML structure?

1 Like

Hi! It took a bit but I made one, I tried a lot of combinations but this one is the one that got the closest to working.

URL: https://www.aliexpress.com/p/wishlist/shareReflux.html?groupId=0xZ4sRKy5sru%2BKR5vxd7XX93PW%2FYpFw2OOO3mL8%2Bb4g%3D

{"_id":"aliexpress","startUrl":["https://www.aliexpress.com/p/wishlist/index.html?spm=a2g0o.home.headerAcount.6.468a76dbfLbQc5&_gl=1*5g5gpv*_gcl_au*ODg1ODkyMzA4LjE3MzI3NDgwMzA.*_ga*MTIxNDIzMjU1OS4xNzMyNzQ2MDUy*_ga_VED1YSGNC7*MTczMjgyNjYwNy42LjEuMTczMjgyODU5Mi41MC4wLjA."],"selectors":[{"id":"element","multiple":true,"parentSelectors":["_root"],"selector":"div.AllListItem--alllistItemContainer--3BpNMAE","type":"SelectorElement"},{"id":"name","multiple":false,"parentSelectors":["element"],"regex":"","selector":"h3","type":"SelectorText"},{"id":"price","multiple":false,"parentSelectors":["element"],"regex":"","selector":"p.AllListItem--priceNowText--24hulSy","type":"SelectorText"},{"id":"link","linkType":"linkFromRedirect","multiple":false,"parentSelectors":["element"],"selector":"div.Image--imageContainer--24sj7qa","type":"SelectorLink"}]}

Hi, the sitemap is correct, but the extension is currently unable to fetch the links. This would work in Webscraper Cloud, but that would imply a monthly subscription.

Ah dang, I'll think on it but probably not an option for a hobby project