hibikidesu / javscraper

Python library for scraping JAVs
GNU General Public License v3.0
40 stars 9 forks source link

SSLError: HTTPSConnectionPool(host='[www.alicejapan.co.jp](http://www.alicejapan.co.jp/)', port=443): Max retries exceeded with url: /search_item.php?search=t&word=cfnm (Caused by SSLError(SSLError(1, '[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:1007)'))) #4

Open sugizo opened 5 months ago

sugizo commented 5 months ago

already test the link https://www.alicejapan.co.jp/search_item.php?search=t&word=cfnm from browser it works

code

jav = javscraper.AliceJapan()
jav.debug = debug
search_jav = 'cfnm'
print(jav.search(search_jav) )
get_jav = 'aarm205'
print(jav.get_video(get_jav) )

result

Path: /search_item.php?search=t&word=cfnm
URL: https://www.alicejapan.co.jp/search_item.php?search=t&word=cfnm
---------------------------------------------------------------------------
SSLError                                  Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py](https://localhost:8080/#) in _make_request(self, conn, method, url, body, headers, retries, timeout, chunked, response_conn, preload_content, decode_content, enforce_content_length)
    467             try:
--> 468                 self._validate_conn(conn)
    469             except (SocketTimeout, BaseSSLError) as e:

22 frames
SSLError: [SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:1007)

During handling of the above exception, another exception occurred:

SSLError                                  Traceback (most recent call last)
SSLError: [SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:1007)

The above exception was the direct cause of the following exception:

MaxRetryError                             Traceback (most recent call last)
MaxRetryError: HTTPSConnectionPool(host='[www.alicejapan.co.jp](http://www.alicejapan.co.jp/)', port=443): Max retries exceeded with url: /search_item.php?search=t&word=cfnm (Caused by SSLError(SSLError(1, '[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:1007)')))

During handling of the above exception, another exception occurred:

SSLError                                  Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/requests/adapters.py](https://localhost:8080/#) in send(self, request, stream, timeout, verify, cert, proxies)
    515             if isinstance(e.reason, _SSLError):
    516                 # This branch is for urllib3 v1.22 and later.
--> 517                 raise SSLError(e, request=request)
    518 
    519             raise ConnectionError(e, request=request)

SSLError: HTTPSConnectionPool(host='[www.alicejapan.co.jp](http://www.alicejapan.co.jp/)', port=443): Max retries exceeded with url: /search_item.php?search=t&word=cfnm (Caused by SSLError(SSLError(1, '[SSL: WRONG_SIGNATURE_TYPE] wrong signature type (_ssl.c:1007)')))