小编SKu*_*bin的帖子

使用curl通过SOCKS5代理(tor)执行https请求

我的系统(debian)上有TOR设置,经过测试并运行良好.我想要做的是通过此设置代理HTTPS请求.

只是https工作: curl https://www.reg.ru/whois/?dname=google.com

Tor + http工作 curl --socks5 127.0.0.1:9050 http://stackoverflow.com/

但是使用https的tor不起作用:

curl --socks5 127.0.0.1:9050 https://www.torproject.org/download/download.html.en

我收到一个错误 curl: (6) Failed to resolve "www.torproject.org" for SOCKS5 connect.

我怎么解决这个问题?

proxy curl

37
推荐指数
1
解决办法
4万
查看次数

有没有办法通过 YouTube API v3 来喜欢/不喜欢和固定取消固定评论?

我已经浏览了有关评论的官方文档,但在文档中找不到它。

有没有办法使用 YouTube API v3 来喜欢或不喜欢视频的评论?如果我是视频的所有者,我就可以取消固定评论。如何通过 API 做到这一点?

youtube api

5
推荐指数
1
解决办法
662
查看次数

*map 在python中是什么意思?

我知道功能map。它被用于类似

new_list = map(func, list)

但是是什么*map(func, list)意思呢?它被用作

hands = set(best_hand(h) for h in itertools.product( *map(replacements, hand)))
Run Code Online (Sandbox Code Playgroud)

python

0
推荐指数
1
解决办法
2039
查看次数

标签 统计

api ×1

curl ×1

proxy ×1

python ×1

youtube ×1