SRL Archive - FAQ

GetPage failure


riwu

2012-10-16 23:29:04

GetPage no longer works for the following pages:
program new;
begin
writeln(GetPage('view-source:services.runescape.com/m=itemdb_rs/api/graph/440.json'));
writeln(GetPage('http://services.runescape.com/m=itemdb_rs/api/graph/440.json'));
end.

They are still working perfectly yesterday, and for the past few weeks. Out of a sudden Simba fails to retrieve the string?
And no, they aren't useless pages, there are secrets lying within ;)

Brandon

2012-10-16 23:47:21

It does work :S.. Noticed that those pages are extremely laggy when loading though.. Browser gave up on it 3 times before it worked the first time. And I have pretty good net..

Tried it in Simba and it works.

riwu

2012-10-16 23:55:07

From: Brandon
It does work :S.. Noticed that those pages are extremely laggy when loading though.. Browser gave up on it 3 times before it worked the first time. And I have pretty good net..

Tried it in Simba and it works.

Hmm yeah they worked again after multiple trials. Guess i've to implement a loop to retry.

Also which page is more optimal to retrieve? The original or the source page? Content wise they are exactly the same.