Created
June 29, 2024 14:41
-
-
Save dacapo1142/44f0ecb46a3281a024469924330cd219 to your computer and use it in GitHub Desktop.
Convert stupid facebook message json into normal json line format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jq -c '.messages[0:-1].[]' $1 | python3 -c 'import sys; print(sys.stdin.read().encode("latin1").decode("utf8"))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment