jina-ai / reader

Convert any URL to an LLM-friendly input with a simple prefix https://r.jina.ai/
https://jina.ai/reader
Apache License 2.0
7.05k stars 555 forks source link

feat: allow pure pdf/html without url param #111

Closed mapleeit closed 2 months ago

nomagick commented 2 months ago

LGTM for the implementation but the url param was required for converting relative URLs inside the page to absolute. Eventually the links and images in the resulting Markdown would still function as normal.

Without the real URL, the final markdown might be broken, and it wouldn't be intuitive for the user to know how to fix it.

mapleeit commented 2 months ago

@nomagick Alright, I'll keep url for html and only remove it when user passes pdf