lonsty / xvideos-dl

CLI to download videos from https://xvideos.com | H ็‰‡ไธ‹่ฝฝๅทฅๅ…ท ๐Ÿ˜˜
MIT License
267 stars 37 forks source link

SSL error #87

Open ghost opened 2 years ago

ghost commented 2 years ago

๐Ÿ› Bug Report

ๆˆ‘ไฝฟ็”จproxychainsๅŠ ไธŠv2ray่ฟ›่กŒไปฃ็†ๆ“ไฝœ๏ผŒไฝ†ๆ˜ฏๅฝ“ๆˆ‘ไฝฟ็”จproxychains่ฟ›่กŒไปฃ็†ไธ‹่ฝฝๆ—ถ๏ผŒไผšๅ‘็”Ÿssl้”™่ฏฏใ€‚้กบไพฟไธ€ๆ๏ผŒๆˆ‘ๅฐ่ฏ•็ป™xvideos-dlๆทปๅŠ ไปฃ็†่ฎพ็ฝฎ๏ผŒไฝ†ๆ˜ฏ่ฟ˜ๆ˜ฏๆ— ๆณ•้ฟๅ…่ฟ™ไธช้”™่ฏฏ๏ผŒๆˆ‘ๆžไธๅฎšไบ†ใ€‚

๐Ÿ”ฌ How To Reproduce

Steps to reproduce the behavior:

โžœ  ~ xvideos-dl https://www.xvideos.com/video36099195/i_m_japanese_i_m_japanese\#
HTTPSConnectionPool(host='www.xvideos.com', port=443): Max retries exceeded with url: /video36099195/i_m_japanese_i_m_japanese (Caused by 
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1955fb0a60>: Failed to establish a new connection: [Errno 101] 
Network is unreachable')), Retrying in 1 seconds...
HTTPSConnectionPool(host='www.xvideos.com', port=443): Max retries exceeded with url: /video36099195/i_m_japanese_i_m_japanese (Caused by 
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1955f4a340>: Failed to establish a new connection: [Errno 101] 
Network is unreachable')), Retrying in 2 seconds...
HTTPSConnectionPool(host='www.xvideos.com', port=443): Max retries exceeded with url: /video36099195/i_m_japanese_i_m_japanese (Caused by 
NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1955f4a610>: Failed to establish a new connection: [Errno 101] 
Network is unreachable'))

Code sample

Environment

python --version
github-actions[bot] commented 2 years ago

Hello @kiloson-c, thank you for your interest in our work!

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

lonsty commented 2 years ago

่ฒŒไผผไปฃ็†่ฎพ็ฝฎๆœ‰้—ฎ้ข˜๏ผŒไธ่ƒฝ่ฏทๆฑ‚ๅˆฐๆ•ฐๆฎ๏ผŒ่ฟ่กŒ curl -v https://www.xvideos.com/video36099195/i_m_japanese_i_m_japanese\# ๅนถๆŠŠ็ป“ๆžœ่ดดๅ‡บๆฅ็œ‹็œ‹ใ€‚

ghost commented 2 years ago

@lonsty

โžœ  ~ curl -v https://www.xvideos.com/video36099195/i_m_japanese_i_m_japanese\#
*   Trying 93.46.8.89:443...
*   Trying 2001::a88f:abba:443...
* Immediate connect fail for 2001::a88f:abba: ็ฝ‘็ปœไธๅฏ่พพ
* connect to 93.46.8.89 port 443 failed: ๆ‹’็ป่ฟžๆŽฅ
* Failed to connect to www.xvideos.com port 443 after 337 ms: ๆ‹’็ป่ฟžๆŽฅ
* Closing connection 0
curl: (7) Failed to connect to www.xvideos.com port 443 after 337 ms: ๆ‹’็ป่ฟžๆŽฅ
โžœ  ~ proxychains curl -v https://www.xvideos.com/video36099195/i_m_japanese_i_m_japanese\#
[proxychains] config file found: /home/closetool/.proxychains/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.15
*   Trying 93.46.8.89:443...
[proxychains] Dynamic chain  ...  127.0.0.1:8889  ...  127.0.0.1:1089  ...  93.46.8.89:443  ...  OK
* Connected to www.xvideos.com (127.0.0.1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.xvideos.com:443 
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.xvideos.com:443 
โžœ  ~ proxychains curl -v https://www.xvideos.com                                          
[proxychains] config file found: /home/closetool/.proxychains/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.15
*   Trying 103.252.115.221:443...
[proxychains] Dynamic chain  ...  127.0.0.1:8889  ...  127.0.0.1:1089  ...  103.252.115.221:443  ...  OK
* Connected to www.xvideos.com (127.0.0.1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.xvideos.com:443 
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.xvideos.com:443 

ไปฃ็†ๆœฌ่บซๅบ”่ฏฅๆฒกๆœ‰้—ฎ้ข˜๏ผŒ้€š่ฟ‡proxychainsๅฏไปฅ่ฎฟ้—ฎๅˆฐyoutube

lonsty commented 2 years ago

ไปฃ็†่ฎพ็ฝฎ้—ฎ้ข˜๏ผŒ้žๅทฅๅ…ท้—ฎ้ข˜