-
Notifications
You must be signed in to change notification settings - Fork 1
TypeError: BaseException.with_traceback() takes exactly one argument (0 given) #8
Copy link
Copy link
Open
Description
code from pypi
from pyigdl import IGDownloader
data = IGDownloader("https://www.instagram.com/reel/Co3tkGLL8nl/")
print(data[0]["download_link"])
result
gaierror Traceback (most recent call last)
[/usr/local/lib/python3.11/dist-packages/urllib3/connection.py](https://localhost:8080/#) in _new_conn(self)
197 try:
--> 198 sock = connection.create_connection(
199 (self._dns_host, self.port),
18 frames
gaierror: [Errno -2] Name or service not known
The above exception was the direct cause of the following exception:
NameResolutionError Traceback (most recent call last)
NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7a5a9e86bdd0>: Failed to resolve 'v3.saveig.app' ([Errno -2] Name or service not known)
The above exception was the direct cause of the following exception:
MaxRetryError Traceback (most recent call last)
MaxRetryError: HTTPSConnectionPool(host='v3.saveig.app', port=443): Max retries exceeded with url: /api/ajaxSearch (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7a5a9e86bdd0>: Failed to resolve 'v3.saveig.app' ([Errno -2] Name or service not known)"))
During handling of the above exception, another exception occurred:
ConnectionError Traceback (most recent call last)
ConnectionError: HTTPSConnectionPool(host='v3.saveig.app', port=443): Max retries exceeded with url: /api/ajaxSearch (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7a5a9e86bdd0>: Failed to resolve 'v3.saveig.app' ([Errno -2] Name or service not known)"))
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
[/usr/local/lib/python3.11/dist-packages/pyigdl/igdl.py](https://localhost:8080/#) in IGDownloader(url)
73 return _sendPostRequest(serverUrl, payloadData, headers)
74 except Exception as e:
---> 75 print(e.with_traceback())
TypeError: BaseException.with_traceback() takes exactly one argument (0 given)
best regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels