Get the pageurl when executing "GetDetails"

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
flobbes Offline
Senior Member
Posts: 142
Joined: Mar 2009
Reputation: 0
Post: #1
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?
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #2
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.
find quote
flobbes Offline
Senior Member
Posts: 142
Joined: Mar 2009
Reputation: 0
Post: #3
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.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #4
if you pass a single html page, the url of that page is available as $$3.
find quote
flobbes Offline
Senior Member
Posts: 142
Joined: Mar 2009
Reputation: 0
Post: #5
Could't find this information anywhere.

Thanks alot!
(This post was last modified: 2010-01-28 17:03 by flobbes.)
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #6
that's because it's probably not documented anywhere Smile
find quote
Nicezia Offline
Fan
Posts: 369
Joined: Nov 2006
Reputation: 0
Location: Montgomery, Alabama
Post: #7
scraperxml editor actually shows you a list of buffer contents at the start of the function now in the new Function Creator Node

ScraperXML Open Source Web Scraper Library compatible with XBMC XML Scrapers


I Suck, and if you act now by sending only $19.95 and a self addressed stamped envelop, so can you!

[Image: teamumx_sigline.png]
find quote