Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开clash代理进行下载,第一次成功,第二次显示错误 #112

Open
baiwei666 opened this issue Jun 21, 2023 · 0 comments
Open

Comments

@baiwei666
Copy link

显示错误代码:
Traceback (most recent call last):
File "E:\BaiduNetdiskDownload\Download\JableTVDownload-main\main.py", line 26, in
download(url)
File "E:\BaiduNetdiskDownload\Download\JableTVDownload-main\download.py", line 60, in download
urllib.request.urlretrieve(m3u8url, m3u8file)
File "D:\application\Python\Lib\urllib\request.py", line 241, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
^^^^^^^^^^^^^^^^^^
File "D:\application\Python\Lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\application\Python\Lib\urllib\request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "D:\application\Python\Lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "D:\application\Python\Lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\application\Python\Lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "D:\application\Python\Lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 428:
请问是什么原因,是因为IP被网站屏蔽了,该如何解决呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant