- 86 名前:デフォルトの名無しさん [2018/12/04(火) 06:06:01.32 ID:qgvunLXb.net]
- >>84
from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Options() options.add_argument('--headless') browser = webdriver.Chrome(chrome_options=options) browser.implicitly_wait(1) url = "yahoo.jp" browser.get(url) hoge = browser.page_source file = open("source.html","w") file.write(hoge) file.close()
|

|