Code Monkey home page Code Monkey logo

buyinyodobashi's Introduction

buyInYodobashi

yodobashi.com で商品を購入するプログラムです。
Headless Chrome, puppeteer を使用しています。

商品指定方法

productUrl に購入したい商品の詳細ページ URL を設定してください。

const productUrl = 'https://www.yodobashi.com/product/100000001002383900/';

動作環境

Node8 以上で動作します。

実行方法

  1. リポジトリを clone し、プロジェクトに移動してライブラリをダウンロードします。
cd buyInYodobashi
npm install
  1. src/account.js にアカウント情報を設定します。
事前に[yodobashi.com](https://www.yodobashi.com)で会員登録とクレジットカードを登録しておく必要があります。
ID・PW・クレジットカードのセキュリティコードを設定します。
※セキュリティには十分注意してください。特に外の環境で実行する場合はセキュリティが担保されていないところには置かないようにする方が好ましいです。
  1. 実行します。
node index.js

License

MIT License

buyinyodobashi's People

Contributors

dependabot[bot] avatar taminif avatar

Stargazers

King超 avatar  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.