Reputation: 6760
I would like to make a small program that scrapes information from a 3rd-party GWT-enabled website. Is it possible to somehow call this RPC directly? What would I need to reverse-engineer to do this (i.e. hopefully not the entire low-level protocol).
I am hoping I could somehow just call this from within my own server-side GWT or Servlet app.
Upvotes: 4
Views: 1253
Reputation: 31528
It is possible... but you would have to go through their code to understand how the serialization/deserialization works.
Classes of interest are
I am trying out a similar thing as an academic project, and I will add more information if I can decipher these classes.
Upvotes: 1
Reputation: 20920
I'm pretty sure GWT makes it difficult to do cross-site requests, for the sake of security.
Any solution you come up with will probably be hacky (and not flexible to future changes), and since you're presumably doing it without the consent of the site in question, probably a bad idea to begin with.
Is there some reason you can't ask the site to publish their data using a REST API?
Upvotes: 0