Python Forum

Full Version: Scraping Content from Google Chat
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello - 

I want to see if anyone knows of an "easy" way to pull content from google hangouts (their instant messenger app).
So, if I had python log into a google account, I'd like for it to pull all of the data if someone sends that specific account a message through the chat app.

If anyone has anything thoughts on how this could be possible, I'd love to hear your input!

Thanks for your time!
Shameless bump...

I'm not looking to be spoon fed code - just looking for someone to point me in the right direction.
The first thing you should look if there is an API you can use.
If API dos not give you what you want.
You really need to know how JavaScript work which is used heavy on sites like this.
JavaScript is executed/rendered in browser,
and reading site with standard tool like urllib/Requests will usually not work.
There are tool you can use,but not gone take about it now.

A important part is to look at site and see how it work,
there are many tool for this like FireBug,Chrome dev-tool.
Many small specialty tool eg Live HTTP Headers... ect.