We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最近下載JABDL,都頻繁出現下面這個問題,請問是否有高手提供解法 DevTools listening on ws://127.0.0.1:51386/devtools/browser/d8e751bf-b975-41e1-a099-32b3b592fcef [0419/081657.949:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -100
下載的設定如下 chrome_binary_path = os.path.join(cwd, 'chrome-win64', 'chrome.exe') chrome_driver_binary = os.path.join(cwd, 'chromedriver-win64', 'chromedriver.exe') options = Options() options.binary_location = chrome_binary_path options.add_argument('--no-sandbox') options.add_argument('--ignore-certificate-errors') options.add_experimental_option('excludeSwitches', ['enable-logging']) options.add_argument('--disable-dev-shm-usage') options.add_argument('--disable-extensions') options.add_argument('--disable-gpu') options.add_argument('-ignore-certificate-errors') options.add_argument('-ignore -ssl-errors') options.add_argument('--headless') options.add_argument("--log-level=3") options.add_argument('--headless') options.add_argument("user-agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36") #after selenium 4.10.0: service = Service(executable_path=chrome_driver_binary) dr = webdriver.Chrome(service=service, options=options) dr.get(url) result = re.search("https://.+m3u8", dr.page_source)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
最近下載JABDL,都頻繁出現下面這個問題,請問是否有高手提供解法
DevTools listening on ws://127.0.0.1:51386/devtools/browser/d8e751bf-b975-41e1-a099-32b3b592fcef
[0419/081657.949:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -100
下載的設定如下
chrome_binary_path = os.path.join(cwd, 'chrome-win64', 'chrome.exe')
chrome_driver_binary = os.path.join(cwd, 'chromedriver-win64', 'chromedriver.exe')
options = Options()
options.binary_location = chrome_binary_path
options.add_argument('--no-sandbox')
options.add_argument('--ignore-certificate-errors')
options.add_experimental_option('excludeSwitches', ['enable-logging'])
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--disable-extensions')
options.add_argument('--disable-gpu')
options.add_argument('-ignore-certificate-errors')
options.add_argument('-ignore -ssl-errors')
options.add_argument('--headless')
options.add_argument("--log-level=3")
options.add_argument('--headless')
options.add_argument("user-agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36")
#after selenium 4.10.0:
service = Service(executable_path=chrome_driver_binary)
dr = webdriver.Chrome(service=service, options=options)
dr.get(url)
result = re.search("https://.+m3u8", dr.page_source)
The text was updated successfully, but these errors were encountered: