전체 코드 from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By import time import urllib.request import os # 검색쿼리 searchKey = input('검색할 키워드 입력 :') # 폴더 생성 def createFolder(dir): try: if not os.path.exists(dir): os.makedirs(dir) except OSError: print('Error') createFolder(f'train_dataset/{searchKey}') driver = webdriver.Chrome() d..