KurtBestor / Hitomi-Downloader

:cake: Desktop utility to download images/videos/music/text from various websites, and more.
21.92k stars 2.02k forks source link

<kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>C</kbd> 눌러서 콘솔 열고 다음과 같이 입력하고 <kbd>Enter</kbd> 누르면 프로그램 폴더에 `test.txt` 파일이 만들어질텐데 보내주세요: #4910

Open tedmedc opened 2 years ago

tedmedc commented 2 years ago

Ctrl + Alt + C 눌러서 콘솔 열고 다음과 같이 입력하고 Enter 누르면 프로그램 폴더에 test.txt 파일이 만들어질텐데 보내주세요:

with open('test.txt', 'wb') as f: f.write(downloader.read_html('https://www.pornhub.com/view_video.php?viewkey=ph627b34c1830f7').encode('utf8'))

Originally posted by @KurtBestor in https://github.com/KurtBestor/Hitomi-Downloader/issues/4868#issuecomment-1152848994

tedmedc commented 2 years ago
Traceback (most recent call last):
  File "requests\adapters", line 449, in send
  File "urllib3\connectionpool", line 727, in urlopen
  File "urllib3\util\retry", line 446, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.pornhub.com', port=443): Max retries exceeded with url: /view_video.php?viewkey=ph627b34c1830f7 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001F511779508>: Failed to establish a new connection: [WinError 10060] 연결된 구성원으로부터 응답이 없어 연결하지 못했거나, 호스트로부터 응답이 없어 연결이 끊어졌습니다'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "console\Console", line 187, in execSingle
  File "<string>", line 1, in <module>
  File "downloader", line 418, in read_html
  File "requests\sessions", line 555, in get
  File "downloader", line 212, in session_request
  File "requests\sessions", line 542, in request
  File "requests\sessions", line 655, in send
  File "requests\adapters", line 516, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.pornhub.com', port=443): Max retries exceeded with url: /view_video.php?viewkey=ph627b34c1830f7 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001F511779508>: Failed to establish a new connection: [WinError 10060] 연결된 구성원으로부터 응답이 없어 연결하지 못했거나, 호스트로부터 응답이 없어 연결이 끊어졌습니다'))