RahulShaw / LinuxAcademy-DL

Download videos from your LinuxAcademy account for offline viewing
MIT License
65 stars 44 forks source link

getaddrinfo() argument 1 must be string or None #55

Open LawRider opened 3 years ago

LawRider commented 3 years ago

Executing for https://linuxacademy.com/cp/modules/view/id/839 Traceback (most recent call last): File "driver.py", line 60, in browser = webdriver.Chrome(executable_path="/usr/bin/chromedriver", File "/home/alex/.local/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 78, in init command_executor=ChromeRemoteConnection( File "/home/alex/.local/lib/python3.8/site-packages/selenium/webdriver/chrome/remote_connection.py", line 24, in init RemoteConnection.init(self, remote_server_addr, keep_alive) File "/home/alex/.local/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 119, in init ip = common_utils.find_connectable_ip(parsed_url.hostname, File "/home/alex/.local/lib/python3.8/site-packages/selenium/webdriver/common/utils.py", line 72, in find_connectable_ip connectable = is_connectable(port, sockaddr[0]) File "/home/alex/.local/lib/python3.8/site-packages/selenium/webdriver/common/utils.py", line 106, in isconnectable socket = socket.create_connection((host, port), 1) File "/usr/lib/python3.8/socket.py", line 787, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): TypeError: getaddrinfo() argument 1 must be string or None