No complete URL showing on product page
Hi - The hard of thinking Jason here.
On the page I am scraping there is no complete URL in the html to scrape and the filename of an image I wish to download is just the filename with no path.
Is there a way of determining the URL when it is not on the page and then saving this alongside the data in a csv file?
If this isn't possible, can I somehow save the URL from an earlier page (results page) that I am scraping.
The site I am trying to scrape isn't very well put together!
Thanks in advance
Jason
I think what you need is to
I think what you need is to resolve a relative URL. If you have enterprise edition you can create a token to scrape the src of the image, and in the token properties > advanced, you can check to resolve a relative URL.
In professional or enterprise you can use scrapeableFile.resolveRelativeURL