ddos-guard-bypass

Bypass DDOS Guard's scraper sheild with Node, mainly to go hand-in-hand with HTTP request package got.

Usage no npm install needed!

<script type="module">
  import ddosGuardBypass from 'https://cdn.skypack.dev/ddos-guard-bypass';
</script>

README

ddos-guard-bypass

Bypass DDOS Guard's scraper sheild with Node, mainly to go hand-in-hand with HTTP request package got.

usage

const ddos = require("ddos-guard-bypass");
const got = require("got");

ddos.bypass("https://ddos-guard-protected-site.com", function(err, resp) {
  if (err) {
    console.log("error getting cookies", err);
  } else {
    console.log("testing request cookies...");
    got("https://ddos-guard-protected-site.com", {
      headers: {
        "user-agent": resp["headers"]["user-agent"],
        "referer": resp["headers"]["referer"],
        "cookie": resp["cookies"]["string"]
      }
    }).then(function(resp) {
      console.log("got response code", resp.statusCode);
    });
  }
});

not working?

Submit an issue with the URL you are requesting or a pull request to help contribute!