小编Mic*_*ael的帖子

<urlopen错误[Errno 1] _ssl.c:510:错误:14077417:SSL

有人知道我为什么收到此错误吗?

SSLError: [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1
Run Code Online (Sandbox Code Playgroud)

使用请求或urllib2时出现错误,我在Kodi上运行代码。当我在PC上的Visual Studio上运行代码时,代码运行良好。

我正在尝试抓取一个被ISP阻止的网站,所以我正在使用该网站的代理版本。

import requests

url = 'https://kickass.unblocked.pe/'
r = requests.get(url)
Run Code Online (Sandbox Code Playgroud)

python ssl beautifulsoup web-scraping kodi

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

如何在Linux shell中使用空格复制多个目录

我有一个电影目录(它们在自己的文件夹中),我只想传输其中一些.

为什么这不起作用?

movie* 代表一个目录

cp -r {movie*, otherMovie*} "/var/media/store n go"

"cp: can't stat '{movie*,': No such file or directory"
"cp: can't stat 'otherMovie*}': No such file or directory"
Run Code Online (Sandbox Code Playgroud)

linux shell copy wildcard

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

标签 统计

beautifulsoup ×1

copy ×1

kodi ×1

linux ×1

python ×1

shell ×1

ssl ×1

web-scraping ×1

wildcard ×1