ageitgey / medium_to_ghost

Instantly move all your Medium.com content (formatted posts + images) to an open source Ghost blog!
MIT License
121 stars 13 forks source link

Still, index out of range error #16

Open ichenjia opened 4 years ago

ichenjia commented 4 years ago

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

rafaelstz commented 4 years ago

This solved my problem: https://github.com/urish/medium_to_ghost/commit/6700054993a86072aa914dec48940ff76d97e7aa

ageitgey commented 3 years ago

I (finally) merged the fix.

galligan commented 3 years ago

@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?

ageitgey commented 3 years ago

Sorry, I've updated it on pip:

https://pypi.org/project/medium_to_ghost/

Hopefully it will work if you pip upgrade now!

galligan commented 3 years ago

Thanks so much! Worked like a charm!