-1

I am trying to parse a web page based on AngularJS with Google Apps Script UrlFetchApp class.

Elements to be retrieved appear in source code as {{Field1}}, {{Field2}} etc. After running angular.min.js they are replaced with their field value.

When using UrlFetchApp.fetch() and getContentText() I simply get the field name (ante AngularJS execution) and not the field values.

How can I get the latter?

antonio
  • 10,629
  • 13
  • 68
  • 136

1 Answers1

0

Its impossible with apps script. You would need a server with a module that simulates a browser and executes the js.

Zig Mandel
  • 19,571
  • 5
  • 26
  • 36