fake-ua
A Random Generator for User-Agent , Just use for Spider, Automation, Compatibility Test 🎉 🎉 🤡
Github: https://github.com/zacard-orc/fake-ua
Npm: https://www.npmjs.com/package/fake-uagt
How to Use
yarn add fake-uagt --save
const FauGen = ;const iFau = ; console;
Mozilla/5.0 (Windows NT/5.1;Win64,x64) AppleWebKit/537.12 Gecko/20101016 Chrome/62.0.2856.48 Safari/537.88Mozilla/5.0 (Windows NT/5.0;Win64,x64) AppleWebKit/530.68 Gecko/20100813 Chrome/66.1.3306.40 Safari/525.28Mozilla/4.0 (Windows NT/6.1;Win64,x64) AppleWebKit/537.47 Gecko/20090322 Chrome/65.1.3385.34 Safari/535.44Mozilla/4.0 (Windows NT/6.1;Win64,x64) AppleWebKit/535.20 Gecko/20110221 Chrome/65.1.3125.45 Safari/535.66Mozilla/4.0 (Windows NT/5.1;Win64,x64) AppleWebKit/525.20 Gecko/20100317 Chrome/51.0.2298.33 Safari/535.24Mozilla/5.0 (Windows NT/6.0;Win64,x64) AppleWebKit/525.43 Gecko/20090811 Chrome/75.1.3080.99 Safari/537.88Mozilla/5.0 (Windows NT/10.1;Win64,x64) AppleWebKit/537.16 Gecko/20090826 Chrome/76.1.3730.43 Safari/537.76Mozilla/4.0 (Windows NT/6.2;Win64,x64) AppleWebKit/537.48 Gecko/20111120 Chrome/65.0.3064.83 Safari/525.54Mozilla/4.0 (Windows NT/10.0;Win64,x64) AppleWebKit/535.67 Gecko/20100615 Chrome/68.1.3611.20 Safari/535.50Mozilla/5.0 (Windows NT/5.1;Win64,x64) AppleWebKit/530.75 Gecko/20100621 Chrome/55.1.2645.98 Safari/537.29
Feature
- 🎉 a simple random fake user-agent string base on chrome
- 🎉 support random weight, just like q=0.5,q=0.5,***
Example for Others
axios
axiosinterceptorsrequest
puppeter
const page = await browser;page
Useful
- 🔥 React
- 🔥 Vue
- 🔥 NodeJs
- 🔥 Electron