I'm making an app that take some data from a website using regex. But those data are loaded only after the complete page is loaded. So the source code I get only contain the script that call that code. Is there any way I can get that generated html source code.
The data that I mentioned is actually google search result inside a website. When I give search query through the url like
website.com/search?q=car
The result gives all links inside that site related to the query and I'm trying to extract link urls from the result.
I believe this code in that page generate the html script.
<script>
    (function() {
        var cx = '013305635491195529773:0ufpuq-fpt0';
        var gcse = document.createElement('script');
        gcse.type = 'text/javascript';
        gcse.async = true;
        gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(gcse, s);
    })();
    </script>