Page 1 of 1

Different result loading URL

Posted: Thu Feb 20, 2025 1:40 pm
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?

Re: Different result loading URL

Posted: Thu Feb 20, 2025 7:58 pm
by FourthWorld
How are you observing the result?

Re: Different result loading URL

Posted: Fri Feb 21, 2025 3:17 pm
by Ultravibe
get URL nowURL // nowURL is variable that contains address
put it into nowData // here we have a html content

Re: Different result loading URL

Posted: Fri Feb 21, 2025 3:34 pm
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?

Re: Different result loading URL

Posted: Fri Feb 21, 2025 9:08 pm
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?

Re: Different result loading URL

Posted: Sat Feb 22, 2025 1:01 am
by SparkOut
That completely depends on the site structure and script