💾 Archived View for tilde.club › ~bumpsh › gemget-python.gmi captured on 2024-12-17 at 11:09:33. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
I was dreaming up a project and needed to simply grab a gemini page from within python
so I looked for some tools and came across gemget.
https://github.com/makew0rld/gemget
This tool was neat so I looked into importing go code from python and was hoping there would be a sneaky way I could use its functions from python
as it turns out you can but its less than appealing, so i starting looking at gemini python clients and found a few clients. Sadly I suck at networking within python
so I could not successfully extract the code required to download from gemini sites.
But there was (3 days later) hope!
https://tildegit.org/solderpunk/gemini-demo-1
This code was so small that I actually figured out what parts I needed!
Now its a little rough around the edges but I turned it into a git repo.
https://github.com/skidd-level-100/gemget-python
It still needs some small work that ill add when I learn ssl through python and get a good replacement for CGI but it currently works!
code away nerds!