Created
August 10, 2025 10:09
-
-
Save BonyChops/ecd088ef1edcbb0ee5a2931f15ff7321 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mitmproxy import http | |
import re | |
def request(flow: http.HTTPFlow) -> None: | |
url = flow.request.url | |
url = re.sub(r'Kegworks', 'Sikarugir', url) | |
url = re.sub(r'kegworks', 'sikarugir', url) | |
flow.request.url = url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment