Skip to content
Advertisement

How to read data from a webpage in two instances (objects)?

I’m working on this project:

JavaScript

Curl connects to website timeanddate.com and reads data from object //*[@id="p36"] (xpath).

How can I read data from two objects instead of just one?

Advertisement

Answer

I already found out that two variables are necessary:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement