Giter Club home page Giter Club logo

cyworld-bot's Introduction

μ‹Έμ΄μ›”λ“œμ˜ μ‚¬μ§„λ“€λ‘œ 좔얡을 κ°„μ§ν•˜μ„Έμš”

μ„€μΉ˜

0. 사전 μ€€λΉ„

μ•„λž˜ κ°€μ΄λ“œλ₯Ό 톡해 μƒμ„Έν•œ μ„€μΉ˜ 방법을 ν™•μΈν•˜μ‹€ 수 μžˆμŠ΅λ‹ˆλ‹€.

1. μ†ŒμŠ€μ½”λ“œ λ‹€μš΄λ‘œλ“œ

Clone or download λ²„νŠΌμ„ 눌러 ZIP 파일둜 μ†ŒμŠ€μ½”λ“œλ₯Ό λ‹€μš΄λ‘œλ“œ λ°›μŠ΅λ‹ˆλ‹€.

  • λ‹€μš΄λ‘œλ“œ 받은 ν›„ 압좕을 ν’€μ–΄μ£Όμ„Έμš”

2. 크둬 λΈŒλΌμš°μ € 버전 확인

메뉴 > 도움말 > Chrome 정보 μˆœμ„œλŒ€λ‘œ μ§„μž…ν•˜μ—¬ μ •λ³΄μ°½μœΌλ‘œ μ§„μž…ν•©λ‹ˆλ‹€.

크둬 μ •λ³΄μ°½μ—μ„œ 크둬 λ²„μ „μ˜ 맨 μ•žμžλ¦¬λ₯Ό λ©”λͺ¨ν•΄μ£Όμ„Έμš” (μœ„ μ‚¬μ§„μ˜ 경우 78)

3. 크둬 λ“œλΌμ΄λ²„ λ‹€μš΄λ‘œλ“œ

크둬 λ“œλΌμ΄λ²„ λ‹€μš΄λ‘œλ“œ νŽ˜μ΄μ§€μ— μ ‘μ†ν•˜μ—¬ 3번 κ³Όμ •μ—μ„œ λ©”λͺ¨ν•œ 버전과 μΌμΉ˜ν•˜λŠ” λ“œλΌμ΄λ²„λ₯Ό λ‹€μš΄λ‘œλ“œ λ°›μŠ΅λ‹ˆλ‹€.

컴퓨터 μš΄μ˜μ²΄μ œμ— λ§žλŠ” 버전을 λ‹€μš΄λ‘œλ“œ λ°›κ³  압좕을 ν’€μ–΄μ€λ‹ˆλ‹€.

  • μ••μΆ• ν•΄μ œ ν›„ λ‚˜μ˜¨ νŒŒμΌμ€ driver 폴더에 λ„£μ–΄μ£Όμ„Έμš”

4. 의쑴 라이브러리 μ„€μΉ˜

CMD ν˜Ήμ€ 터미널 등을 μ†ŒμŠ€μ½”λ“œκ°€ μžˆλŠ” ν΄λ”μ—μ„œ μ—΄μ–΄ μ•„λž˜ λͺ…λ Ήμ–΄λ₯Ό μž…λ ₯ν•©λ‹ˆλ‹€.

  • 파이썬이 μ„€μΉ˜λ˜μ–΄ μžˆμ–΄μ•Ό ν•©λ‹ˆλ‹€!
pip3 install -r requirements.txt

5. κΈ°λ³Έ μ„€μ •

  • config.ini νŒŒμΌμ„ μ—΄μ–΄ 개인 섀정을 μ§„ν–‰ν•΄μ£Όμ„Έμš”
    • user
      • email: μ‹Έμ΄μ›”λ“œ 이메일
      • password: λΉ„λ°€λ²ˆν˜Έ
    • bot
      • chromedriver: ν¬λ‘¬λ“œλΌμ΄λ²„ 경둜
        • μœˆλ„μš°: ./driver/chromedriver.exe
        • λ¦¬λˆ…μŠ€ & λ§₯: ./driver/chromedriver
      • delay: λ‹€μš΄λ‘œλ“œ μ§€μ—°μ‹œκ°„ (λ˜λ„λ‘μ΄λ©΄ 기본값인 3을 μœ μ§€ν•΄μ£Όμ„Έμš”)
      • parser: νŒŒμ‹± ν”„λ‘œμ„ΈμŠ€ 수
        • ⚠️ CPU μ½”μ–΄ μˆ˜λ³΄λ‹€ 큰 수λ₯Ό μž…λ ₯ν•˜μ§€ μ•ŠλŠ”κ²ƒμ„ μΆ”μ²œν•©λ‹ˆλ‹€. (1 ~ μ½”μ–΄ 수)
      • downloader: λ‹€μš΄λ‘œλ” ν”„λ‘œμ„ΈμŠ€ 수
        • ⚠️ CPU μ½”μ–΄ μˆ˜λ³΄λ‹€ 큰 수λ₯Ό μž…λ ₯ν•˜μ§€ μ•ŠλŠ”κ²ƒμ„ μΆ”μ²œν•©λ‹ˆλ‹€. (1 ~ μ½”μ–΄ 수)
[user]
email=이메일
password=λΉ„λ°€λ²ˆν˜Έ

[bot]
chromedriver=./driver/chromedriver.exe
delay=3
parser=4
downloader=4

6. μ‹€ν–‰

μ•„λž˜ λͺ…λ Ήμ–΄λ₯Ό μž…λ ₯ν•˜μ—¬ μ‹Έμ΄μ›”λ“œ 이미지 μˆ˜μ§‘μ„ μ‹œμž‘ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

python3 bot.py

  • κ²°κ³Ό μ΄λ―Έμ§€λŠ” images 폴더 내에 λ‚ μ§œ_번호_제λͺ© ν˜•μ‹μœΌλ‘œ μ €μž₯λ©λ‹ˆλ‹€
  • κ²°κ³Ό ν…μŠ€νŠΈλŠ” posts 폴더 내에 λ‚ μ§œ_번호_제λͺ© ν˜•μ‹μœΌλ‘œ μ €μž₯λ©λ‹ˆλ‹€

이슈

μ‚¬μš© 쀑 λ¬Έμ œκ°€ λ°œμƒν•  경우 이슈 λ‚¨κ²¨μ£Όμ„Έμš” 😊

개발자

Geunhyeok LEE

cyworld-bot's People

Contributors

imgbotapp avatar leegeunhyeok avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.