#!/usr/bin/env python3 # 패키지 호출 from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.action_chains import ActionChains import chromedriver_autoinstaller import urllib.request import warnings import shutil import subprocess import time import requests import random # 1부터 20까지 중에 랜덤추출 ranking = random.rand..
from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.action_chains import ActionChains import chromedriver_autoinstaller import os import requests import warnings import shutil import subprocess import time warnings.filterwarnings('ignore') try: shutil.rmtree(r"c:\chrometemp") # 쿠키 / 캐쉬파일 삭제 except FileNotFoundError: pass subprocess...