Skip to content

Scraper for Hangouts messages by participant name. Collects all messages from a Hangouts.json and outputs them into a file. In case you need entire message history for a NLP project or something.

Notifications You must be signed in to change notification settings

KamiAithein/Hangouts-Scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Hangouts-Scraping

Takes in a valid Hangouts.json (obtained from google takeout) and writes all the messages from conversation threads that contain the people specified. If you put in your own name you'll get (big surprise) every message from every chat you've been in, since you have to have been in a chat for it to be archived.

arguments (modified in the first few lines of hangouts.js):

hangouts_file: the file and directory of the Hangouts.json (example: data/Hangouts.json)

fileout: the file and directory of the output file (example: out/test.txt)

names: an array of nick names to filter conversations by

maximum_participants: the maximum number of participants in a conversation thread. Used to filter out large groups.

outputs to a file a text history with the nick name of a message sender followed by the message (example: Kenneth Koepcke: Yo)

About

Scraper for Hangouts messages by participant name. Collects all messages from a Hangouts.json and outputs them into a file. In case you need entire message history for a NLP project or something.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published