bin/ingest export 'list' object has no attribute 'get'
When I run bin/ingest export I get the following error:
Traceback (most recent call last):
File "bin/ingest", line 24, in <module>
for post in posts.get('status_updates', []):
AttributeError: 'list' object has no attribute 'get'
This sounds like maybe a parsing error, but I also had to jump through some hoops to get Python working on my Mac so it's possible something is not quite right there either.
Any ideas?
bin/ingest export ‘list’ object has no attribute ‘get’ · Issue #6 · cleverdevil/ditchbook ( GitHub)
> When I run bin/ingest export I get the following error: Traceback (most recent call last): File "bin/ingest", line 24, in <module> for post in posts.get('status_updates', []…
Looks like FB changed it’s export format:
[{"timestamp": 1566833332,"attachments": [],"data": [{"post": ""},{"update_timestamp": 1566833332}],"title": ""}]
This is not what Ditchpost expects.
The posts file is also no longer posts/your_posts.json but posts/your_posts_01.json
Also on