Mediteam.us ๊ฐœ๋ฐœ – Python & Selenium์„ ์ด์šฉํ•œ ๊ตฌ๊ธ€๊ฒ€์ƒ‰ ํฌ๋กค๋ง

‘๊ด€๋ จ๊ธ€ ๊ฒ€์ƒ‰’ ๊ธฐ๋Šฅ์„ ๋„ฃ๊ธฐ ์œ„ํ•œ ์‹œํ–‰์ฐฉ์˜ค ๋์— ๋งˆ์ง€๋ง‰์œผ๋กœ ์ƒ๊ฐํ•ด๋‚ธ ๋ฐฉ์‹์ด ๋ฐ”๋กœ ์‚ฌ์ดํŠธ ๋‚ด๋ถ€์˜ ๊ตฌ๊ธ€ ๊ฒ€์ƒ‰์—”์ง„์„ ์ด์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์ด์—ˆ๋‹ค. ํ•ต์‹ฌ…
Read More

Mediteam.us ๊ฐœ๋ฐœ – ์ด ๊ธ€์€ ์–ด๋Š ๋‚˜๋ผ ๋ง๋กœ ์ ํ˜€์žˆ๋Š” ๋ฌธ์„œ์ธ๊ฐ€? (ํ•œ๊ธ€, ์˜์–ด, ์ผ๋ณธ์–ด ํ˜•ํƒœ์†Œ ๋ถ„์„)

‘๋‚ด๊ฐ€ ์™œ ์ด๊ฑธ ํ•˜๊ณ  ์žˆ์ง€?’ ์‹œ๋ฆฌ์ฆˆ๋„ ๋ง‰๋ฐ”์ง€์ž…๋‹ˆ๋‹ค. ‘๊ด€๋ จ๊ธ€ ์ฐพ๊ธฐ’ ๋ณ„๊ฑฐ ์•„๋‹Œ๋ฐ, ๋„ˆ๋ฌด ๋ณต์žกํ•ฉ๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ ๊ผญ ํ•ด์•ผํ•˜๋‚˜…๋‹ค๋ฅธ ์ข‹์€ ๋ฐฉ๋ฒ•…
Read More

Steemit ํฌ์ŠคํŠธ๋ฅผ Naver ๋ธ”๋กœ๊ทธ๋กœ ๋ณด๋‚ด๊ธฐ #2 – ๋น„์ถœ๋ ฅ ๋ฌธ์ž ์—๋Ÿฌ ์ฒ˜๋ฆฌ

Github : https://github.com/junn279/steemjs_example/blob/master/naver_open_api.php ์ง€๋‚œ ํฌ์ŠคํŒ… (https://steemit.com/kr/@junn/steemit-openapi-naver-export-using-php)์„ ํ…Œ์ŠคํŠธ ํ•˜๋Š” ์ค‘์— ์žฌ๋ฐŒ๋Š” ํ˜„์ƒ์„ ๋ฐœ๊ฒฌํ–ˆ์Šต๋‹ˆ๋‹ค. ์ œ๋ชฉ์„ ์–ด๋–ป๊ฒŒ ๋ถ™์—ฌ์•ผํ• ์ง€ ๋ชฐ๋ผ. ๋น„์ถœ๋ ฅ๋ฌธ์ž ์—๋Ÿฌ๋ผ๊ณ …
Read More

Steemit ํฌ์ŠคํŠธ๋ฅผ OpenAPI๋กœ Naver ๋ธ”๋กœ๊ทธ๋กœ ๋ณด๋‚ด๊ธฐ(export) using PHP

Github : https://github.com/junn279/steemjs_example/blob/master/naver_open_api.php ์ œ๋ชฉ์€ Steemit ํฌ์ŠคํŠธ๋ฅผ Naver ๋ธ”๋กœ๊ทธ๋กœ ๋ณด๋‚ด๊ธฐ ์ž…๋‹ˆ๋‹ค. ๋ชจ๋“  ๊ณผ์ •์„ ํ•œ๋ฒˆ์— ์ ์„ ์ˆ˜๋Š” ์—†์–ด์„œ..์‚ฌ์‹ค์ƒ Naver OpenAPI…
Read More

Mediteam.us ๊ฐœ๋ฐœ – Mecab (Python library)๋ฅผ ์ด์šฉํ•œ ์ผ๋ณธ์–ด, ํ•œ๊ธ€ ํ˜•ํƒœ์†Œ ๋ถ„์„

‘์ผ๋ณธ์–ด๋ฅผ ๋ถ„์„ํ•˜๋ผ’   ๋‚ด๊ฐ€ ์™œ ์ด๊ฑธ ํ•˜๊ณ  ์žˆ์ง€? ๋ผ๊ณ  ์ƒ๊ฐํ•˜๊ณ  ์žˆ์„ ๋•Œ๋ฉด ์ด๋ฏธ ํ•˜๊ณ  ์žˆ๋‹ค.. Mediteam ์‚ฌ์ดํŠธ์˜ ‘๊ด€๋ จ๊ธ€…
Read More

Mediteam.us ๊ฐœ๋ฐœ – nodeJS์™€ python ์ƒํ˜ธ ๊ฐ„ ํ†ต์‹ (using python-shell, synchronize)

(์ค‘๊ฐ„๋‹จ๊ณ„ ๊ฒฐ๊ณผ๋ฌผ)   Source code : https://github.com/junn279/nodejs_python_communication ์ง€๋‚œ ํฌ์ŠคํŒ… (https://steemit.com/kr/@junn/python-mediteam-us-tf-idf-konlpy ํ˜น์€ https://junn.net/archives/1923)ย ์— ์ด์€ ์ง„ํ–‰๊ณผ์ • ์ •๋ฆฌ ์ด๋ฒˆ ๊ณผ์ œ๋Š” ์ง€๋‚œ๋ฒˆ์—…
Read More

[Python] Mediteam.us ๊ฐœ๋ฐœ – ๊ด€๋ จ๊ธ€ ์ฐพ๊ธฐ (TF-IDF, konlpy)

  ์ด๋ฒˆ ์ž‘์—…์€ ‘๊ด€๋ จ์žˆ๋Š” ๊ธ€ ์ฐพ๊ธฐ’์— ๋Œ€ํ•œ ํ…Œ๋งˆ๋กœ ์ง„ํ–‰ํ•˜์˜€๋‹ค. ๋จธ์‹ ๋Ÿฌ๋‹๊ณผ๋Š” ์ง์ ‘์ ์ธ ๊ด€๋ จ์ด ์—†์ง€๋งŒ, Vectorํ™”์— ๋Œ€ํ•œ ๊ฐœ๋…์„ ์žก๊ธฐ์œ„ํ•ด์„œ๋Š” ์ข‹์€…
Read More

[Python] CNN10 ์—์„œ ํŠน์ • ๋‚ด์šฉ์ด ํฌํ•จ๋œ Script ์ฐพ๊ธฐ (Crawling, ํฌ๋กค๋ง ์˜ˆ์ œ)

Source file : https://github.com/junn279/python_examples/blob/master/crawling.py ์˜ˆ์ „์— ์ž ๊น ์˜์–ด ๊ณต๋ถ€ํ•  ๋•Œ ํ‹ˆํ‹ˆํžˆ ๋“ค์—ˆ๋˜ ํŒŸ์ผ€์ŠคํŠธ๋กœ CNN10 (Student News) ๊ฐ€ ์žˆ์—ˆ๋‹ค. ๊ฐ€๋”…
Read More

Mediteam.us – Puppeteer ์‚ฌ์šฉ๊ธฐ

์ฐธ ๋ฌ˜ํ•˜๊ฒŒ, ์•„๋ฌด ์ƒ๊ฐ์—†์ด ์ฑ…์—์„œ ์ฝ์—ˆ๋˜, ๋‹น์‹œ์— ๋งˆ๋ƒฅ ์‹ ๊ธฐํ•˜๊ฒŒ ์ƒ๊ฐํ–ˆ๋˜ ๋‚ด์šฉ๋“ค์ด ๊ฒฐ๊ตญ ๋Œ๊ณ  ๋Œ์•„ ์‚ฌ์šฉํ•  ์ผ๋“ค์ด ์ƒ๊ธด๋‹ค. ์ด๋ฒˆ…
Read More

MySQL : INSERT ON DUPLICATE KEY UPDATE ์—์„œ autoincrease๋˜๋Š” id ๋ฌธ์ œ

https://stackoverflow.com/questions/9189102/too-many-auto-increments-with-on-duplicate-key-update INSERT … ON DUPLICTE KEY UPDATE ๋Š” ๊ต‰์žฅํžˆ ์œ ์šฉํ•œ ๊ตฌ๋ฌธ์ด๋‚˜, ์˜ค๋Š˜ ๋ณด๋‹ˆ๊นŒ duplicate ์—ฌ๋ถ€๋ฅผ ํ™•์ธํ•˜๋Š” ๊ณผ์ •์—์„œ ์“ธ๋ฐ์—†์ด…