Open ichenjia opened 4 years ago
This solved my problem: https://github.com/urish/medium_to_ghost/commit/6700054993a86072aa914dec48940ff76d97e7aa
I (finally) merged the fix.
@ageitgey I'm still having this issue FYI. I went through the install exactly as described in the README and received the IndexError. Is it possible that after your merge the package was not updated?
Sorry, I've updated it on pip:
https://pypi.org/project/medium_to_ghost/
Hopefully it will work if you pip upgrade now!
Thanks so much! Worked like a charm!
File "/usr/local/lib/python3.7/site-packages/medium_to_ghost/medium_post_parser.py", line 459, in handle_data self.cards[-1][1]["caption"] = data IndexError: list index out of range