Skip to main content

Facebook Data Extractor, simple tool for read and analyze facebook dump (JSON format)

Project description

Facextractor

Facebook Data Extractor, simple tool for read and analyze facebook dump (JSON format).

Instalation

PyPI

pip install Facextractor

or from source:

git clone https://github.com/geekmoss/facextractor.git
cd facextractor
pip install .

and for bash complete:

bash bash-complete.sh

Using

CLI

# Friends:
facextractor friends ./facebook-dump

# Chats:
# For summary of all chats
facextractor threads ./facebook-dump
# For summary of chat with John Doe
facextractor friends ./facebook-dump -f "John Doe"
# For summary of all chats where is John Doe is participant
facextractor friends ./facebook-dump -p -f "John Doe" 

Python Modules

from Facextractor import Friends, Threads

t = Threads("./facebook-dump")
t.describe()  # str: summary of all chats
t.analysis.photos  # int: count photos of all chats

t.threads[0].describe()  # str: summary of first thread in list

t.find_thread_by_name("John Doe")  # Thread: return thread for exact match
t.find_threads_by_participant("John Doe")  # List[Thread]: returns list of threads where is participant

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Facextractor-1.0.2.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

Facextractor-1.0.2-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page