MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / main

Function main

python/examples/impersonate.py:61–72  ·  view source on GitHub ↗

Main function to run the impersonation examples Demonstrates different browser impersonation scenarios: 1. Firefox with custom header order 2. Chrome on Android with OS specification

()

Source from the content-addressed store, hash-verified

59
60
61async def main():
62 """Main function to run the impersonation examples
63
64 Demonstrates different browser impersonation scenarios:
65 1. Firefox with custom header order
66 2. Chrome on Android with OS specification
67 """
68 # First test with Firefox
69 client = await request_firefox()
70
71 # Then update and test with Chrome on Android
72 await request_chrome_android(client)
73
74
75if __name__ == "__main__":

Callers 1

impersonate.pyFile · 0.70

Calls 2

request_firefoxFunction · 0.85
request_chrome_androidFunction · 0.85

Tested by

no test coverage detected