Replies: 2 comments 1 reply
-
@sjj151461 Can you expand on "it's buggy some time". What exactly is buggy?
|
Beta Was this translation helpful? Give feedback.
-
i want to talk about library API design, that's the main problem when i try to use proxy.py to solve my problem. after try about 4 hours learning how to use proxy.py, and digging into such spider web like code, i still can not startup the car. then i use raw python3 write my own proxy, after 8 hours, my job is mostly done, i feel python3 offer very good API,and i only need to know very little information to use them, and i never need to dig into their code. so before you design a library, think about what problem you want to solve, and people NOT FAMILIER with your library need how much time to solve their problem. A great library and a library can use is different. a good proxy library for me, i need it to hide the complex real net environment, and better it is designed with layer,clear data flow,never over encapsulation |
Beta Was this translation helpful? Give feedback.
-
that's the real value, but proxy.py is hard to use, designed with confusion
can anybody show me how to write a encrypt url proxy, it has two nodes, nodeA just forward encrypted url(for crossing government wall) and tcp steam to nodeB, nodeB decrypt url and connect to website, then put everything back to nodeA
i acctually write one with proxy.py, most time it's ok, but it's buggy some time
how to test:setup nodeA in china,setup nodeB in usa or somewhere, use nodeA for your chrome proxy,visit www.google.com or www.youtube.com
Beta Was this translation helpful? Give feedback.
All reactions