Failed to Parse Article / Images Missing in EPUB

Hi, I just want to know what causes “Failed to parse article” errors and how to work around them, aside from using a laptop/desktop. I still want the convenience of sending articles from mobile to Kindle.

Also, I noticed that when I send articles with images, the images sometimes don’t appear even though the “Include Images” option is activated. What usually causes that?

Here are sample articles:
https://bigthink.com/starts-with-a-bang/scientists-hostile-new-ideas/

https://www.mckinsey.com/mgi/our-research/agents-robots-and-us-how-ai-reshapes-work-and-skills-in-europe

https://www.mckinsey.com/capabilities/people-and-organizational-performance/our-insights/the-organization-blog/how-agentic-ai-challenges-four-rules-your-organization-runs-on

There are different possible reasons.

  • Domain is using anti bot techniques to detect non-human behavior (not using a real browser to watch the page). They are doing so because of e.g. content stealing and misuse for AI training.
  • For the same reason, the P2k server’s IP addresses might be on a blacklist.
  • Site is rendered with JavaScript in the user’s browser. Without that JS interpreting, there is just no plain html to fetch.
  • Some pages need login and/or paid subscription to read articles. P2K can’t login with your credentials.
  • If the browser plugin also fails, it might be helpful to write a domain specific site-config. This also could help for missing images. Just drop a specific article link in the forum (one threat per domain, please) and describe, what is missing or faulty.

Have you tried the P2K bookmarklet for mobile browsers?

1 Like

I’d separate the “failed to parse article” issue from the missing-image problem first, since they can have different causes.

If the page is blocked by anti-bot protection, requires a login, or depends on JavaScript to expose the article content, the problem happens during extraction. In that case, changing anything later in the EPUB pipeline won’t really help.

For the missing images, I’d first check whether their URLs are actually present after extraction. If they’re already missing at that stage, a domain-specific site config sounds like the more relevant place to look. If the URLs are present but disappear later, then you can narrow it down to the image-fetching or EPUB-generation stage.

That distinction should make it much easier to tell whether this is an extraction issue or something happening during ebook generation.

1 Like

@HolgerAusB @derickmiller Got these, thank you! A couple of days after I asked this question, I tried using P2K bookmarklet, and it solved 99% of the issues I encountered on websites where I use P2K. So I’ve been using it since.

In case I get any issues that aren’t resolved by the bookmarklet, I’ll definitely reach out. Thank you so much!!!