php 7.4.32 컴파일 설치
# Script/PHP2022. 10. 12. 16:38php 7.4.32 컴파일 설치

configure [darksharavim.tistory.com]./configure --prefix=/apps/php7 \ --disable-debug \ --enable-sockets \ --enable-sysvsem=yes \ --enable-sysvshm=yes \ --enable-ftp \ --enable-gd \ --enable-inline-optimization \ --enable-bcmath \ --enable-exif \ --enable-sigchild \ --enable-mbstring \ --enable-fpm \ --enable-mysqlnd \ --enable-soap \ --with-curl \ --with-zlib \ --with-gettext \ --with-jpeg \ --..

[파이썬]페이지 로딩될 때 까지 기다리게 하는 방법
# Script/Python2022. 10. 12. 13:19[파이썬]페이지 로딩될 때 까지 기다리게 하는 방법

Selenium이 페이지가 모두 로딩될 때 까지 기다리게 하는 방법 단순 시간 대기 from time import sleep URL = 'http://encykorea.aks.ac.kr/Contents/CategoryNavi?category=contenttype&keyword=%EC%9D%B8%EB%AC%BC&ridx=0&tot=18507' # 원하는 페이지 지정 driver = webdriver.Chrome('chromedriver.exe') # 원하는 브라우저 엔진 선택(파일 경로) driver.get(URL) # 해당 URL로 브라우저 창을 실행 sleep(3) 브라우저 엔진이 URL을 접속하고 단순히 3초를 대기한다. 이 방법은 모든 페이지마다 항상 3초를 대기하므로 비효율적이다. 암묵적 대기(I..

[파이썬]네이버 데이터랩 추출 및 엑셀 파일 저장(xlsx)
# Script/Python2022. 10. 11. 07:42[파이썬]네이버 데이터랩 추출 및 엑셀 파일 저장(xlsx)

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...

[파이썬]셀레니움 크롬 드라이버 자동 설치 for windows
# Script/Python2022. 10. 10. 15:22[파이썬]셀레니움 크롬 드라이버 자동 설치 for windows

from selenium import webdriver import chromedriver_autoinstaller import os # Check if chrome driver is installed or not chrome_ver = chromedriver_autoinstaller.get_chrome_version().split('.')[0] driver_path = f'./{chrome_ver}/chromedriver.exe' if os.path.exists(driver_path): print(f"chrom driver is insatlled: {driver_path}") else: print(f"install the chrome driver(ver: {chrome_ver})") chromedriv..

[파워쉘]IIS 웹사이트 중지 시작
# Script/Powershell2022. 7. 20. 18:28[파워쉘]IIS 웹사이트 중지 시작

중지 Stop-IISSite -Name "Default Web Site" https://docs.microsoft.com/en-us/powershell/module/iisadministration/stop-iissite?view=windowsserver2022-ps Stop-IISSite (IISAdministration) Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. docs.microsoft.com 시작 Start-IISSite -Name "Default Web Site" https://docs.microsoft.com/en-us/powershell/module/iisadmini..

image