ddos-guard-bypass/README.md
2022-08-01 02:59:00 -04:00

26 lines
587 B
Markdown

# ddos-guard-bypass
Bypass DDOS Guard's scraper shield with Node.
## example
```js
const dg = require("@cantfindkernel/ddos-guard-bypass");
const axios = require("axios");
(async function() {
let ddgu = await dg.bypass(`https://ddos-guard.net/en`);
let resp = await axios({
url: `https://ddos-guard.net/en`,
headers: ddgu.headers,
});
console.log(resp.status) // 200 or 403
})();
```
You can see an example [here](./test.js).
### not working?
Submit an [issue](https://git.gay/a/ddos-guard-bypass/issues/new) with the URL you are requesting or a PR to contribute.