Giter Site home page Giter Site logo

nike_purchase_system's Introduction

nike_purchase_system

A software that can automatic login and purchase the limit edition products in nike official website

仅支持Nike**

基于QT的界面,并提供了带cookie的浏览器支持 nike_login目录提供自动注册nike账号的功能

Develop

develop environment: python version >= 3.5.2

Run

pip3 install -r requirements.txt
python3 mainwindow.py

nike_purchase_system's People

Contributors

nikan1996 avatar

Stargazers

Julio Cesar Heredia avatar Gael Sanchez avatar Kuma  avatar  avatar leo avatar  avatar  avatar sandriaas avatar 时光 avatar  avatar dilvnbk  avatar Yvan7123_ avatar arvin avatar  avatar  avatar  avatar sakamoto avatar  avatar  avatar  avatar Xinz Tian avatar ymmxl avatar  avatar felix yuh avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar fcode avatar Jimmy avatar  avatar  avatar cm avatar  avatar  avatar  avatar  avatar  avatar

nike_purchase_system's Issues

nike http request url变了

您好,

我注意到现在nike网站在所有request后面加了个 visitorID

Request URL:https://unite.nike.com/login?appVersion=364&experienceVersion=312&uxid=com.nike.commerce.snkrs.web&locale=en_US&backendEnvironment=identity&browser=Google%20Inc.&os=undefined&mobile=false&native=false&visit=3&visitor=880831b7-6aa5-46a2-b46c-545d25d4f140

是在一个nike.com上面的js 脚本产生的. 请问怎么样能fake这个东西让网站接收我们的request.

如果能帮忙的话一定会重谢!! 谢谢

login request 会403,Access Denied

headers_login = {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, deflate, br",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Content-Type": "application/json",
    "Cookie": "AnalysisUserId=b44d7918-62ea-447f-834a-207953ac69be; CONSUMERCHOICE=us/en_us; NIKE_COMMERCE_COUNTRY=US;NIKE_COMMERCE_LANG_LOCALE=en_US;bm_sz=90804949C6E6D16EB754EA4A84D427C3~QAAQMNo4fbJVWz9kAQAAQGptWsp6BkHUQy/JC3oQe9hlr46dwo+CCi7P/cWz5Muws2ppZxyzor+UNBUMCO/ci073oLkuQ+uGaKc8Mt/j1FsPHw+7OUyA3nS0jSjzYoirhP3yuYzXEoWqg5o/XLQyOoiPBdh8NTp2VWMmV2PGf1TDcPHq1Ui55DxTyBRx; _abck=1228BD7B170D8F9AA9D6D7882E477BB47D38DA30F84700006C8A385B5005697A~0~mpF3r824Iwo+PnVvLGWdGClSAI2S5Swta/sarq0LCMw=~-1~-1",
    "Origin": "https://www.nike.com",
    "Referer": "https://www.nike.com/launch/"
}
url_login = 'https://unite.nike.com/login?uxid=com.nike.commerce.snkrs.web&locale=en_US&visit=1&visitor=6d1fea54-cb8a-4ec1-b2f4-392073917534'
payload = {
    "username": "4426********",
    "password": "***********",
    "client_id": "PbCREuPr3iaFANEDjtiEzXooFl7mXGQ7",
    "ux_id": "com.nike.commerce.snkrs.web",
    "grant_type": "password"
}

python中request请求会返回403,同样的请求postman或者firefox中重发都是可以的

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.