mathieudutour / medium-to-own-blog

Switch from Medium to your own blog in a few minutes
MIT License
3.03k stars 107 forks source link

Doesn't import all articles from https://medium.com/@tomayac #49

Closed tomayac closed 5 years ago

tomayac commented 5 years ago

πŸ™ First of all, thanks a ton for creating this tool! It's great! πŸ‘

Describe the bug When I run the import script multiple times, randomly articles from my archive are being skipped.

Expected behavior

Screenshots

mathieudutour commented 5 years ago

the script skips the responses to other articles. I just tried the import with your archive and indeed, one article is missing: https://medium.com/dev-channel/experimenting-with-the-wake-lock-api-b6f42e0a089f. Do you have others missing?

I'll try to see why

tomayac commented 5 years ago

Thanks so much for looking into this. It seems to randomly vary, sometimes the mentioned article is included, sometimes it isn't, sometimes it produces only five articles, sometimes more… It's really weird.

mathieudutour commented 5 years ago

Oh I think I know why, and I don't like it.

It seems that Medium is changing its frontend code and all the css classes are minified :/ It doesn't seem to be deployed everywhere yet so depending on which A/B test path you take, you get the normal classes or the minified ones.

mathieudutour commented 5 years ago

should be fixed in 0.3.0