- Python 2.7 or 3.6
- Python pip
- Virtualenv
- Clone the repo and open a terminal in the root
- Set up local virtualenv:
virtualenv ./virtualenv
- Activate virtualenv:
source ./virtualenv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Place your data in
data
folder - Start:
python src/main.py <path-to-data> <time-base> <object>
, where:<path-to-data>
is the relative (or absolute) path to the directory containing all the data.<time-base>
is the date of the export that serves as relative time base for any date calculations.<object>
is the type of objects to parse. Possible values are:profile
,forum
,topic
- Let the script do its magic and you will find your results in
out
folder in JSON and CSV format.