Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automate login, navigation and parse of web pages in React Native

I would like to get information from a specific website (https) from within a react native app. For that, I need to:

  1. Open and Login to the web page (https)
  2. Make a simple navigation (known tag in html)
  3. Parse the resulting page for data.
  4. Present the data in a React native component (not webUI).

Any idea what would be the best way to do it?

10x, EyalS

like image 201
EyalS Avatar asked Sep 11 '18 15:09

EyalS


1 Answers

Here is what I would do:

  1. Use the following tutorial to use Browserify to wrap Zombie.js within a react-native app.
  2. Navigate with Zombie.js to the data that you are seeking.
  3. Display the data.

Happy coding.

like image 79
Francois Nadeau Avatar answered Nov 04 '22 05:11

Francois Nadeau