Facebook数据提取器,用于读取和分析Facebook转储的简单工具(JSON格式)

Facextractor的Python项目详细描述


Facextractor

facebook数据提取器,用于读取和分析facebook dump(json格式)的简单工具。

安装

PYPI

pip install Facextractor

或来源:

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

对于bash complete:

bash bash-complete.sh

使用

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模块

fromFacextractorimportFriends,Threadst=Threads("./facebook-dump")t.describe()# str: summary of all chatst.analysis.photos# int: count photos of all chatst.threads[0].describe()# str: summary of first thread in listt.find_thread_by_name("John Doe")# Thread: return thread for exact matcht.find_threads_by_participant("John Doe")# List[Thread]: returns list of threads where is participant

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java ADB设备不显示手机、og droid   java使用存储和保存方法写入属性文件   java为什么要打印这个结果   JavaSpring自动连线和并行流   java如何在Hashmap中存储KStream对象类型的值?   Android中Telugu字符串的java正则表达式?   java平方求幂   Eclipse和Tomcat的java错误   Java数组不继续循环   Jsoup未解析java嵌套html   java Android:如何知道MediaPlayer是否暂停?   跟踪Java POJO类中字段的空值集的最佳方法   java Spring在应用程序属性相对与绝对中配置工作目录?   向固定大小的平面添加随机放置的直线矩形的java方法   JavaEclipse和jasper报告:如何定位log4j。财产?