hibikidesu / javscraper

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

SSLError: HTTPSConnectionPool(host='www.i-dol.tv', port=443): Max retries exceeded with url: /search/list/?q=cfnm (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)'))) #3

Open sugizo opened 6 months ago

sugizo commented 6 months ago

already test the link https://www.i-dol.tv/search/list/?q=cfnm from browser it works

code

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

result

Path: /search/list/?q=cfnm
URL: https://www.i-dol.tv/search/list/?q=cfnm
---------------------------------------------------------------------------
SSLCertVerificationError                  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
SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

During handling of the above exception, another exception occurred:

SSLError                                  Traceback (most recent call last)
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

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

MaxRetryError                             Traceback (most recent call last)
MaxRetryError: HTTPSConnectionPool(host='[www.i-dol.tv](http://www.i-dol.tv/)', port=443): Max retries exceeded with url: /search/list/?q=cfnm (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_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.i-dol.tv](http://www.i-dol.tv/)', port=443): Max retries exceeded with url: /search/list/?q=cfnm (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))