Import scraped data via secure proxy into Google Sheets - xpath

I need to import data into Google Sheets from a secure website that can only be accessed if I'm connected to a specific server via VPN. Is there a way to do this?
I've tried using the importhtml and importxml functions and they didn't work.
=importhtml("https://website","table",1) <-- Did not work
The error I'm getting is
#N/A - Could not fetch URL

no, that is not possible. in order to import data into Google Sheets, the source website needs to be public and not behind a login. also, any kind of JavaScript is not supported.

Related

Insert data into Google Spreadsheet using Apache NIFI

How can I insert data into Google Spreadsheet using Apache NIFI? The only possible solution I can conceive right now is creating a python script and use Google Sheet API client in order to post data to Google Sheet.
But I'm looking for simpler ways to do that. It would be nice to have no or few dependencies. I tried the PostHTTP processor but could not authorize my requests on Google Sheet API servers. The GCPCrendentialsControllerService could be handy to authenticate requests, but I was not able to use that with PostHTTP processor.
I thought it would be a very common use case, but found nobody else trying to use Nifi to write on a google sheet. Any ideas?

how to use google recaptcha in a widget

I am new to google recaptcha and i have the below queries.
I am using angular-recaptcha to implement this in the widget
is there any way that i can achieve this without registering the domain.
Mine is an angular application which is being used as a widget in different websites.
Most of the sites integrate this widget through javascript
Few site uses it through iframe.
Also is there any way to avoid the network call(google verify endpoint) from the server side validation.
is there any licensing issues to use google recaptcha?
Thanks,
Sri

Embed not working with google analytics api

In the laravel project I'm using google api that fetches google analytics report when user logins with his google analytics a/c. But when I try to give embed functionality where user can use it in his websites to show fragments like current online users, country-specific users,etc. It isn't working due to some issues.
simple embed code that user is supposed to fetch data anywhere outside my website:
<embed src="http://www.example.com/shareEmbed/id">
while I'm testing and pasting the above code in different page, it shows login error as in below image
please help me!

Examples of Datastore read/write from ajax?

My single page app is hosted on Google's cloudstore. I love that I don't have to worry about a server. The app is, naturally, javascript heavy.
Now I would like to add a feature where users can store some data, generate a link to be shared with others and retrieve stored data. Think of a pastebin where some snippet of text is saved and a unique link is generated to be shared with others.
In fact, if it helps, think of this as my attempt to create a pastebin without having to setup a server.
It looks like Google's cloud datastore nosql solution is what I want. Given a key, it will return a snippet of text. However, all the examples on the documentation page imply that I have to setup a back end service using python, node, etc.
Questions:
Can't I just read and write from a web page, perhaps using ajax style http call (since I need to get and put text snippets once data has already been loaded)? I believe I can take care of cross-origin issues by changing some configs in the cloudstore static website server.
Obviously I don't want to serve any encryption keys from the web page. I'm hoping that since my site is served from Google as well, I can configure the nosql service handle permissions intelligently for this scenario.
Is there any documentation which shows how to do this correctly?
Google Datastore is not supposed to be used from client side, it's a served side database. You cannot do that w/o having server side code to authenticate, authorize and validate db related requests.
But there're an alternative. Firebase is a ready to use backend for client side applications, including Javascript apps. It's a separate project, that belongs to Google but not (yet?) part of Google Cloud. Take a look - https://www.firebase.com/
Although the API Rest is still beta, it is possible now to connect from a web client or anything RESTful capabilities. https://cloud.google.com/datastore/reference/rest/

Does Google Gadget works for an Internal Corporate Site?

We would like to use the Google Gadget concept in our corporate Intranet. Our infrastructure implies no external web dependencies.
The way I understand Google Gadget is that the gadget xml file requires some pre-processing before being displayed in a Html page:
<script src="http://www.gmodules.com/ig/ifr?url=http://mysite.com/my-gadget.xml
Is this mean I cannot render a gadget in a Page without this pre-processing?
Thank you
Not sure if this helps, but it is also possible to have google widgets make use of secure data behind a firewall by using the the Google Secure Data Connector
The browser still needs to have access to google servers to execute the widget, just data requests will be made to google and then be proxied back to a service running in your network which will then fetch the data.

Resources