Skip to content

Instantly share code, notes, and snippets.

@Thoosje
Thoosje / keybase.md
Created December 18, 2025 08:59
Keybase verifcation

Keybase proof

I hereby claim:

  • I am thoosje on github.
  • I am thoosje (https://keybase.io/thoosje) on keybase.
  • I have a public key ASDFYdLLas_vSku8ui5DaE6XsL7qzoMpU-Lo5dXUiTAMNwo

To claim this, I am signing this object:

@Thoosje
Thoosje / proxy-rotation-httpx.py
Last active March 16, 2022 07:43
Simple script to show how you can rotate proxies using httpx in python.
import asyncio, httpx
# httpx version = 0.17.1
# Versions below this use session._proxies instead of session._mounts
async def rotateProxy(session, proxy):
import httpcore
import typing
from httpx._client import URLPattern, DEFAULT_LIMITS