Comments (2)
@wku
Yesterday. And http & https proxies are done now in v0.0.4.
Try this:
import trip
proxies = {
'http': '127.0.0.1:8080',
'https': '127.0.0.1:8081',
}
@trip.coroutine
def main():
r = yield trip.get('https://httpbin.org/get', proxies=proxies)
print(r.content)
trip.run(main)
from trip.
@wku Sock5 proxy now is also ready in v0.0.7
from trip.
Related Issues (17)
- Github 链接的文档URL错误 HOT 1
- how to use trip gracefully? HOT 6
- RuntimeError: IOLoop is already running HOT 5
- 大的网页应答, chunk方式出错。 trip 0.08 HOT 2
- AttributeError: 'HTTPHeaderDict' object has no attribute 'get_all' HOT 4
- 怎么跟asyncio的loop结合使用
- 下载图片时,有时成功,有时失败
- 无法获取trip.run的返回值
- 0.0.10 tarball missing
- 协程运行速度比多进程慢
- 依赖的request是版本是多少呢? HOT 2
- 有没有把文档英文化的计划呢? HOT 1
- 请问有没有和grequests的对比呢? HOT 1
- 我读取json文件,显示乱码。 HOT 5
- proxies参数被忽略 HOT 4
- python3 用await 提示错误 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trip.