💾 Archived View for bbs.geminispace.org › u › gemalaya › 13948 captured on 2024-08-31 at 13:43:25. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 😺 gemalaya

Re: "Can any suggest a python library to fetch gemini pages for..."

In: u/gritty

@gritty I think you're using the wrong python package for ignition, it's not called "ignition" (which is an old unmaintained package unrelated to gemini, and breaks on import due to an invalid chmod call), but "ignition-gemini". So if that's the case you can install ignition by doing:

pip uninstall ignition
pip install ignition-gemini

ignition is a pretty good library, and you can combine it with trimgmi, which can do some gemtext parsing for you.

😺 gemalaya

Jan 15 · 8 months ago

1 Later Comment

🍀 gritty [OP] · 2024-01-15 at 19:28:

@gemalaya thanks! I think that's exactly what was happening. I'll check out that other library as well.

Original Post

🍀 gritty

Can any suggest a python library to fetch gemini pages for parsing? There's a couple on awesomegemini but wasn't sure if there were recommendations. I tried ignition but the recent commit fails in init with a permission issue (chmod).

💬 4 comments · Jan 14 · 8 months ago