Discord
Login
Community
DARK THEME

Is it possible to extract information from other websites?

I wanted to extract numbers from a website that is constantly updating, is there a way to do this in microscript? if not javascript or python?.

From the MicroScript 2.0 level, no - because there is not a single function for sending queries to the server.

You would have to write some code in JavaScript and combine this code with MicroScript - something like this will work for very simple tasks - but don't expect miracles.

It is best to query via API.

The page / server will probably defend itself - for example by asking for a cookie with each query.

You would have to recreate the entire sequence of actions that the browser performs.

It looks like this

  • you send a request for a page
  • the server says give a cookie
  • you say no cookie
  • the server says log in and return with a cookie
  • after logging in
  • you send a request for a page
  • the server says give a cookie
  • you send a cookie
  • in response it sends a page and another cookie

Thanks.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community