Coder Social home page Coder Social logo

tony-aptx4869 / microsoft_order_crawler Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 36 KB

Python scripts for crawling Microsoft orders information. / 用来爬虫 Microsoft 订单信息的 Python 脚本。

License: GNU General Public License v3.0

Python 100.00%
python crawler crawler-python microsoft xbox orders-digital information order

microsoft_order_crawler's Introduction

Microsoft Order Crawler

Python scripts for crawling Microsoft orders information.

用来爬虫Microsoft订单信息的Python脚本。

What you need? | 你需要什么?

The only two strings you need are __RequestVerificationToken in HTTPS request's header and AMCSecAuth in Cookie.

您需要的唯一两个字符串是 HTTPS 请求标头中的 __RequestVerificationToken 和 Cookie 中的 AMCSecAuth

How to use? | 如何使用?

Step 1: Get your own __RequestVerificationToken and AMCSecAuth

Step 2: Copy the file config.example.conf and rename it as config.conf

Step 3: Set your own __RequestVerificationToken and AMCSecAuth values in the file config.conf

Step 4: Run the script main.py and the results, a csv file, will be saved in the directory csv_files/[DATE_TODAY] with the filename format as csv_file_[TIME_NOW]

第 1 步:获取自己的 __RequestVerificationTokenAMCSecAuth

第 2 步:复制文件 config.example.conf 并将其重命名为 config.conf

第 3 步:在文件 config.conf 中设置您自己的 __RequestVerificationTokenAMCSecAuth

第 4 步:运行脚本 main.py,结果,一个 csv 文件,将保存在目录 csv_files/[DATE_TODAY] 中,文件名格式为 csv_file_[TIME_NOW]

Tested Environments | 测试环境

  • macOS Monterey 12.2.1
  • Python 3.9.10
  • PyCharm 2021.3

microsoft_order_crawler's People

Contributors

tony-aptx4869 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

hyfm0218

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.