-- Leo's gemini proxy
-- Connecting to gmn.clttr.info:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
git clone git://git.clttr.info/gusmobile.git
This is a client library for the Gemini protocol. It is intended to provide a programming interface that will be familiar to the users of the `requests' library, though much simpler.
It is largely extracted from the code of AV-98, the command-line Gemini client by solderpunk, the initiator of the Gemini protocol project.
Python >= 3.10
import gusmobile url = "gemini://geminispace.info" response = gusmobile.fetch(url) print response
-- Response ended
-- Page fetched on Sun May 19 07:44:38 2024