DEV Community

Phạm Đức Huy
Phạm Đức Huy

Posted on

Answer: How to get value from external website while the value is set by javascript in that site

I can think of two options. One is good, sensible, fast, etc. The other is stupid and a really bad idea, but was fun toying with. Your two options are:

  • Use Phantom.js
  • Fetch the source code of the external site via your PHP script, load it into your page and…

Discussion (0)