Kodi Community Forum
Get the pageurl when executing "GetDetails" - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
+--- Thread: Get the pageurl when executing "GetDetails" (/showthread.php?tid=68767)



Get the pageurl when executing "GetDetails" - flobbes - 2010-01-28

Is it possible to fetch the url when GetDetails ist running?

GetSearchResults just forwards the content of the html file to GetDetails doesnt it.

But im interested which page it actualy forwarded because there are a lot of relative paths in the html file.

Is it possible?


- spiff - 2010-01-28

uhm, you can chain to a diff function in all functions except CreateSearchUrl and GetSearchResults. what you ask don't make one bit of sense to me, so you probably should try to explain it a bit more verbosely.


- flobbes - 2010-01-28

When I parse the html file in GetDetails I only get the relative path of the images.

../image1.jpg

The problem is the absolute path differs every time and so I need the url of the absolute path.


- spiff - 2010-01-28

if you pass a single html page, the url of that page is available as $$3.


- flobbes - 2010-01-28

Could't find this information anywhere.

Thanks alot!


- spiff - 2010-01-28

that's because it's probably not documented anywhere Smile


- Nicezia - 2010-01-29

scraperxml editor actually shows you a list of buffer contents at the start of the function now in the new Function Creator Node