Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 798 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 798 Bytes

myCODScraper

This will scrape any javascript file from my.callofduty.com / profile.callofduty.com in order to make the process of finding API routes easier.

Why does this exist?

ATVI/COD like to move the routes used for their private API around different javascript files on each deployment. Running this scraper will hopefully make searching for routes easier for the end user.

Instructions

  1. Install typescript globally

    npm i -g typescript
  2. Install local dependencies

    npm i puppeteer @types/puppeteer
  3. Run the script you want

    Cod Libs

    npm run start

    Dump MW content

    npm run test

  4. All Done!

Credits

Liam - GitHub - Twitter