λ°μ΄ν°λ‘ νμ©ν κΈμ΅μν μ 보λ€μ λ€μ΄λ‘λ λ°λ μ½λλ€ μ λλ€
-
'νκ΅ κ±°λμ μλ£' λ§μ λ€μ΄λ‘λν΄μ μ€μ λ‘ μ¬μ©ν μμ μ λλ€(krx_selenium.py)
-
vscode νμ©ν΄μ κ°μνκ²½ λ§λ λ€μμ μ€ν ν κ²μ κΆμ ν©λλ€
-
selenium μ 4.3.0 λ²μ μ΄μμ μ¬μ©ν΄μΌ ν©λλ€!(4.3.0 λΆν° λͺ λ Ήμ΄κ° μ‘°κΈ λ°λμκΈ° λλ¬Έμ)
-
chrome λλΌμ΄λ²λ 103 λ²μ μ μ¬μ©ν΄μΌ ν©λλ€
-
λλ¨Έμ§ μ½λ μ€νμ νμν λΌμ΄λΈλ¬λ¦¬ λ€μ 'pip install' μ μ΄μ©ν΄μ μ€μΉλ₯Ό ν ν μ¬μ©μ ν΄μΌ ν©λλ€
-
μ½λ μ€νμ, κ²½λ‘ λ±μ pc λ§μΆ°μ μμ μ ν΄μΌ ν©λλ€
-
λ°μ΄ν°λ² μ΄μ€μμ κ°λ€μ μ λ ₯ λ°μ μ db = pymysql.connect(host='localhost', port=3306, user='root', passwd='yoy0317689*', db='snowball_database', charset='utf8') μμ passwdμ dbλ₯Ό λ³ΈμΈ pcμ λ§κ² μμ ν΄μΌ ν©λλ€
-
make_database_tables.py -> update_prices_database.py -> update_product_evaluate_database.py μμΌλ‘ μ€νμ νλ©΄ λ©λλ€
Package Version
asttokens 2.0.8 async-generator 1.10 attrs 22.1.0 backcall 0.2.0 beautifulsoup4 4.11.1 certifi 2022.6.15 cffi 1.15.1 charset-normalizer 2.1.0 colorama 0.4.5 cryptography 37.0.4 debugpy 1.6.3 decorator 5.1.1 entrypoints 0.4 exchange-calendars 4.1.1 executing 0.10.0 finance-datareader 0.9.34 h11 0.13.0 idna 3.3 ipykernel 6.15.1 ipython 8.4.0 jedi 0.18.1 jupyter-client 7.3.4 jupyter-core 4.11.1 korean-lunar-calendar 0.2.1 lxml 4.9.1 matplotlib-inline 0.1.3 nest-asyncio 1.5.5 numpy 1.23.1 outcome 1.2.0 packaging 21.3 pandas 1.4.3 pandas-datareader 0.10.0 parso 0.8.3 pickleshare 0.7.5 pip 22.2.2 prompt-toolkit 3.0.30 psutil 5.9.1 pure-eval 0.2.2 pycparser 2.21 Pygments 2.13.0 pyluach 2.0.0 PyMySQL 1.0.2 pyOpenSSL 22.0.0 pyparsing 3.0.9 PySocks 1.7.1 python-dateutil 2.8.2 python-dotenv 0.20.0 pytz 2022.1 pywin32 304 pyzmq 23.2.1 requests 2.28.1 requests-file 1.5.1 selenium 4.4.0 setuptools 56.0.0 six 1.16.0 sniffio 1.2.0 sortedcontainers 2.4.0 soupsieve 2.3.2.post1 stack-data 0.4.0 toolz 0.12.0 tornado 6.2 tqdm 4.64.0 traitlets 5.3.0 trio 0.21.0 trio-websocket 0.9.2 urllib3 1.26.11 wcwidth 0.2.5 webdriver-manager 3.8.3 wsproto 1.1.0