ageitgey / medium_to_ghost

Instantly move all your Medium.com content (formatted posts + images) to an open source Ghost blog!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Still, index out of range error

ichenjia opened this issue · comments

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

This solved my problem: urish@6700054

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!