@hanivanrizky/nestjs-html-parser
Version:
A powerful NestJS HTML parsing service with XPath and CSS selector support, proxy configuration, random user agents, and rich response metadata including headers and status codes
19 lines (18 loc) • 385 B
TypeScript
export interface ProxyConfig {
/**
* Proxy server URL (e.g., 'http://proxy.example.com:8080')
*/
url: string;
/**
* Type of proxy server
*/
type?: 'http' | 'https' | 'socks4' | 'socks5';
/**
* Username for proxy authentication
*/
username?: string;
/**
* Password for proxy authentication
*/
password?: string;
}