Hello there,
FYI, since last week, medium.rip requests are blocked: medium.com return HTTP 403 errors and lead to invalid character '<' looking for beginning of value error (because HTML HTTP 403 is returned instead of JSON).
It might be related to JA4 fingerprinting of Go HTTPS requests, because from the same running server, scribe.rip requests are not blocked...and they use the same API call than medium.rip.
You might consider using that spoofing lib to make HTTP calls and bypass JA4 fingerprinting : https://github.com/enetx/surf
Thanks.