File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 <h2 >Getting Started</h2 >
2020</div >
2121
22- 1 . ** Modify Your Requests:**
23-
24- Instead of directly requesting a URL like:
25- ```
26- https://www.google.com
27- ```
28- Point it to your local proxy server:
29- ```
30- http://localhost:5000/api/proxy/https://www.google.com
31- ```
32- *(Replace `5000` if you change the default port)*
33-
34- 2. **Start the Proxy Server:**
35-
36- Run the Python server:
37- ```bash
38- python server.py
39- ```
22+ <div align =" center " >
23+ <table >
24+ <tr >
25+ <th>Step</th>
26+ <th>Instructions</th>
27+ </tr >
28+ <tr >
29+ <td><strong>1. Modify Your Requests</strong></td>
30+ <td>
31+ Instead of directly requesting a URL like:<br>
32+ <code>https://www.google.com</code><br><br>
33+ Point it to your local proxy server:<br>
34+ <code>http://localhost:5000/api/proxy/https://www.google.com</code><br>
35+ <em>(Replace <code>5000</code> if you change the default port)</em>
36+ </td>
37+ </tr >
38+ <tr >
39+ <td><strong>2. Start the Proxy Server</strong></td>
40+ <td>
41+ Run the Python server:<br>
42+ <code>python server.py</code>
43+ </td>
44+ </tr >
45+ </table >
46+ </div >
4047
41- That's it! Your project can now make requests through the proxy.
48+ <div align =" center " >
49+ <p >That's it! Your project can now make requests through the proxy.</p >
50+ </div >
4251
4352---
4453
4554<div align =" center " >
4655 <h2 >Configuration</h2 >
4756</div >
4857
49- Want to change the port? Easy!
58+ <div align =" center " >
59+ <p >Want to change the port? Easy!</p >
60+ </div >
61+
62+ <div align =" center " >
63+ <p >Edit the <code >server.py</code > file at the bottom:</p >
64+ </div >
5065
51- Edit the `server.py` file at the bottom:
5266``` python
5367if __name__ == " __main__" :
5468 print (' Starting Cloudflare bypass proxy server...' )
You can’t perform that action at this time.
0 commit comments