Giter VIP home page Giter VIP logo

naver_smartstore_macro's Introduction

네이버 스마트스토어 매크로 for Mac M1

네이버 스마트스토어 상품을 자동으로 구매해주는 매크로입니다.

  • Mac M1에 최적화되어 있습니다.

  • python3가 설치되어 있다고 가정합니다.

How to macro

  1. 현 레포지토리를 clone 합니다.
git clone https://github.com/redorangeyellowy/naver_smartstore_macro.git
  1. Clone한 디렉토리에 가상환경을 만들어줍니다.
cd naver_smartstore_macro
python3 -m venv macro
source macro/bin/activate
  1. selenium 라이브러리를 설치합니다.
pip install selenium
  1. 크롬 드라이버를 다운받은 후, clone한 디렉토리에 넣어줍니다.
  • 여기에 들어가서 자신의 크롬 버전과 일치하는 드라이버를 다운받습니다.
  • 크롬 버전은 크롬 오른쪽 상단 ... 클릭 -> 도움말 -> Chrome 정보에 들어가면 확인할 수 있습니다.
  1. 자신의 네이버 아이디, 비밀번호를 base64 인코딩합니다.
  • 여기에 들어가서 아이디, 비밀번호를 각각 인코딩합니다.
  • 인코딩한 값을 config.json에 입력해줍니다.
  1. 파이썬 스크립트를 실행합니다.
python3 run_macro.py --target "해당 상품 링크"
  • UnboundLocalError: local variable 'driver' referenced before assignment와 같은 에러가 뜬다면, 크롬 드라이버가 있는 디렉토리로 들어간 후 아래 커맨드를 실행합니다.
xattr -d com.apple.quarantine chromedriver

naver_smartstore_macro's People

Contributors

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