Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Data exported for each message regardless of the platform:
3. Select the date range you want. **The format *must* be JSON.** Media won't be used, so you can set the quality to "Low" to speed things up.
4. Click on "Deselect All", then scroll down to select "Messages" only
5. Click on "Create File" at the top of the list. It will take Facebook a while to generate your archive.
4. Once the archive is ready, download and extract it, then move the content of the `messages` folder into `./raw_data/messenger/`
4. Once the archive is ready, download and extract it, then move the `messages` folder into `./raw_data/messenger/`

### WhatsApp

Expand Down
2 changes: 1 addition & 1 deletion export.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_f_name(compressed):
elif args.format == 'csv':
df.to_csv(f_name, index=False, compression=compression)
elif args.format == 'pkl':
with open(f_name, 'wb', encoding="utf8") as f:
with open(f_name, 'wb') as f:
pickle.dump(df, f)
else:
raise Exception(f'Format {args.format} is not supported.')
Expand Down