emcf / thepipe

Extract markdown and images from URLs, PDFs, docs, slides, and more, ready for multimodal LLMs. ⚡
https://thepi.pe
MIT License
814 stars 61 forks source link

Minor fix for extract_url function to allow for text_only flag to function as anticipated #3

Closed eric-at-nocoast closed 3 months ago

eric-at-nocoast commented 3 months ago

Currently the extract_url function will not output with a text_only flag. This is fixed by adjusting the indentation so the text is output no matter the value of the text_only boolean.

This aligns with the pattern followed by the other extractors.