M
M
mQA2016-07-14 21:12:39
PHP
mQA, 2016-07-14 21:12:39

Parsing google adwords data. How to parse some company values ​​without using google API?

Task: to parse just a few values ​​from several Google adwords accounts every day .
The difficulty is that you need to do this without using the Google API.
d60fbefc5a264b4aab4025cd944eaa7e.png
Logging in with CURL to Google services is not a problem. However, when accessing the adwords page, a series of redirects occur, which only leads to obfuscated JS ...
b490ff2024464aaeb878d841536c6c81.png
Which in turn is visible and draws elements and assigns values.
A question for parsing/automation specialists. Is it possible to emulate a browser with executed JSand get a couple of values ​​from this page (after the page has fully loaded and JS has been processed)? By means of PHP it is apparently impossible to do this, or is it still possible ?!
Can you please tell me if there is a way to use Selenium for this ? I myself tried just the rules in the browser, but I only got to waiting for the page to load and check the elements. Is it possible to get the code of the loaded page? Do I need to install selenium-server-standalone for automation?
I would be very grateful for any advice ( except for using native AP I)
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2016-07-14
@Sanasol

Doctor, my throat hurts.
- Turn around and take off your pants. We will beam.
PhantomJS is great for solving your problem from the other end.
When you get tired of tormenting parsers and automators, return to the API.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question