diff --git a/README.md b/README.md index 863b5c4..7a3d008 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/export.py b/export.py index 7921206..c633cd0 100644 --- a/export.py +++ b/export.py @@ -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.')