Skip to content

xhrdev/starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xhr.dev starter-kit: Human-Like Bot Browsing

Let your bot navigate websites like a human, seamlessly avoiding detection and bot challenges.

Key Features

  • Forward MiTM Proxy Effortlessly avoid bot detection with advanced bot avoidance mechanisms, captcha handling, and fingerprinting.
  • Automated Captcha Solving Detects and resolves captcha challenges, allowing uninterrupted automation.

Quick Demo

Integrate in one line:

import axios from 'axios';
import { readFileSync } from 'node:fs';
import { HttpsProxyAgent } from 'https-proxy-agent';

const ca = readFileSync('./xhrdev.pem');
const httpsAgent = new HttpsProxyAgent('https://magic.xhr.dev');
httpsAgent.options.ca = ca;

const { data } = await axios.request({
  headers: {
    'x-xhr-api-key': process.env.XHR_API_KEY,
  },
  httpsAgent,
  url: 'https://app.gusto.com/login',
});

xhrdev.pem is committed in this repo for certificate verification. You can also download the latest certificate directly:

curl -s https://docs.xhr.dev/xhrdev.pem -o xhrdev.pem

Examples

See our samples at our GitHub repository

For example, using the Apollo hidden API: https://github.com/xhrdev/examples/blob/master/src/apollo.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors