fast.com
v1.0.6
Published
A fast.com cli
Downloads
13
Readme
A CLI version of Netflix FAST.COM (Unofficial).
Usage
npx fast.com@latest
How does it work?
- Send a GET request to
https://fast.com/
- Parse the document using
cheerio
- Query the
script
tag and get itssrc
- Fetch the script content
- Parse the script with
acorn
- Find the
token
usingacorn-walk
- Send requests to
https://api.fast.com/netflix/speedtest/v2?https=true&token=${token}&urlCount=5
to get the request object urls. - Send all requests at once.
- Benchmark using
stream.on('data')
.