Buenas,
Muchas gracias por el manual de primeros pasos.
Ya creé el directorio e hice las modificaciones con el BBEDIT. En principio todo bien y hace la llamada a la búsqueda del album, pero me lanza error:
Last login: Sat Feb 10 13:45:47 on ttys000
jesusgomez@Jesuss-MacBook-Air ~ % rip url
https://tidal.com/browse/album/334512189╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packa │
│ ges/aiohttp/connector.py:992 in _wrap_create_connection │
│ │
│ 989 │ │ │ async with ceil_timeout( │
│ 990 │ │ │ │ timeout.sock_connect, ceil_threshold=timeout.ceil_thr │
│ 991 │ │ │ ): │
│ ❱ 992 │ │ │ │ return await self._loop.create_connection(*args, **kw │
│ 993 │ │ except cert_errors as exc: │
│ 994 │ │ │ raise ClientConnectorCertificateError(req.connection_key, │
│ 995 │ │ except ssl_errors as exc: │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/ba │
│ se_events.py:1103 in create_connection │
│ │
│ ... 2 frames hidden ... │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/ss │
│ lproto.py:188 in feed_ssldata │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py:975 │
│ in do_handshake │
│ │
│ 972 │ │
│ 973 │ def do_handshake(self): │
│ 974 │ │ """Start the SSL/TLS handshake.""" │
│ ❱ 975 │ │ self._sslobj.do_handshake() │
│ 976 │ │
│ 977 │ def unwrap(self): │
│ 978 │ │ """Start the SSL shutdown handshake.""" │
╰──────────────────────────────────────────────────────────────────────────────╯
SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed: unable to get local issuer certificate (_ssl.c:997)
The above exception was the direct cause of the following exception:
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /Library/Frameworks/Python.framework/Versions/3.10/bin/rip:8 in <module> │
│ │
│ 5 from streamrip.rip import rip │
│ 6 if __name__ == '__main__': │
│ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │
│ ❱ 8 │ sys.exit(rip()) │
│ 9 │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packa │
│ ges/click/core.py:1157 in __call__ │
│ │
│ ... 19 frames hidden ... │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packa │
│ ges/aiohttp/connector.py:1204 in _create_direct_connection │
│ │
│ 1201 │ │ │ ) │
│ 1202 │ │ │ │
│ 1203 │ │ │ try: │
│ ❱ 1204 │ │ │ │ transp, proto = await self._wrap_create_connection( │
│ 1205 │ │ │ │ │ self._factory, │
│ 1206 │ │ │ │ │ host, │
│ 1207 │ │ │ │ │ port, │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packa │
│ ges/aiohttp/connector.py:994 in _wrap_create_connection │
│ │
│ 991 │ │ │ ): │
│ 992 │ │ │ │ return await self._loop.create_connection(*args, **kw │
│ 993 │ │ except cert_errors as exc: │
│ ❱ 994 │ │ │ raise ClientConnectorCertificateError(req.connection_key, │
│ 995 │ │ except ssl_errors as exc: │
│ 996 │ │ │ raise ClientConnectorSSLError(req.connection_key, exc) fr │
│ 997 │ │ except OSError as exc: │
╰──────────────────────────────────────────────────────────────────────────────╯
ClientConnectorCertificateError: Cannot connect to host auth.tidal.com:443
ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: unable to get local issuer certificate
(_ssl.c:997)')]
Exception ignored in: <bound method BaseEventLoop.call_exception_handler of <_UnixSelectorEventLoop running=False closed=True debug=False>>
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 1791, in call_exception_handler
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/__init__.py", line 1506, in error
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/__init__.py", line 1624, in _log
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/__init__.py", line 1634, in handle
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/__init__.py", line 968, in handle
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/rich/logging.py", line 160, in emit
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/rich/logging.py", line 221, in render
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/rich/_log_render.py", line 43, in __call__
ImportError: sys.meta_path is None, Python is likely shutting down
jesusgomez@Jesuss-MacBook-Air ~ %
Ni idea si es un fallo de certificado o algo parecido. Además al final me pone: "Python is likely shutting down"
Entiendo por qué quieren que estos programas sean minoritarios jejeje.