Different result loading URL

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ultravibe
Posts: 65
Joined: Sat Jan 17, 2015 12:06 pm

Different result loading URL

Post by Ultravibe »

Hello!
There is URL and when it loaded I'm watching source code and there are few rows with needed information. Al that happened in browser.
When I'm using get URL request, it returns almost the same but those rows are absent. The area where rows placed looks like <td alias="Result"></td> - it is empty when I use this URL in LiveCode. Where did I go wrong?
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Different result loading URL

Post by FourthWorld »

How are you observing the result?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Ultravibe
Posts: 65
Joined: Sat Jan 17, 2015 12:06 pm

Re: Different result loading URL

Post by Ultravibe »

get URL nowURL // nowURL is variable that contains address
put it into nowData // here we have a html content
SparkOut
Posts: 2987
Joined: Sun Sep 23, 2007 4:58 pm

Re: Different result loading URL

Post by SparkOut »

It sounds like the site might be generating some dynamic content that would need some site-specific sign-in or header settings that would be handled automatically by the browser.
Is the url a public facing site or behind a paywall? Can you use Postman to see the processes by which a page is requested and what is returned?
Ultravibe
Posts: 65
Joined: Sat Jan 17, 2015 12:06 pm

Re: Different result loading URL

Post by Ultravibe »

I suppose that html content contains some script. Browser execute some script which contained inside html code. How it can be solved in LiveCode?
SparkOut
Posts: 2987
Joined: Sun Sep 23, 2007 4:58 pm

Re: Different result loading URL

Post by SparkOut »

That completely depends on the site structure and script
Post Reply