Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

proxy-scraper-checker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-scraper-checker

Multifunctional proxy scraper and checker

  • 1.0.2
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Proxy Scraper

Proxy Scraper is a tool that allows you to check the connectivity to HTTP, HTTPS, SOCKS4, and SOCKS5 proxy servers, as well as collect IP addresses and ports from websites specified in a text file.

Installation

To install and use Proxy Scraper, follow these steps:

  1. Clone the repository using the command:
  git clone https://github.com/timursevimli/proxy-scraper/

Usage

To use Proxy Scraper, follow these steps:

  1. Create a text file that lists the websites to collect IP addresses and ports from. Each URL should be specified on a separate line. For example (sources/proxy_sources.txt):
https://example.com
http://example.net
  1. Edit the config.json file to configure the script execution and proxy checking options.
{
  "mode": "single",
  "timeout": 10000,
  "source": "proxy_sources.txt",
  "test": false,
  "channels": 100
}
  1. Run the script by executing the command:
  npm start
  1. The logs will be recorded in the logs/proxy-scraper.log file. You can view the log file to track the execution and check for results or errors.

Execution Options

When running the proxy-scaper, you can specify the following options:

  • mode< string >(default: 'single'): The type of proxy checking execution. Available values are 'single' for sequential checking and 'multi' for parallel checking.

  • timeout< number >(default: 10000): The timeout for each proxy check in milliseconds.

  • source< string >(default: 'proxy_sources.txt'): The path to the file containing the websites to collect IP addresses and ports from.

  • test< boolean >(default: false): A flag indicating whether to run in test mode (checking only a few websites).

  • channels< number >(default: 100) This property limits the number of operations and provides load balance in the application.

Contribution

You can contribute to the development of Proxy Scraper by creating new features, fixing bugs, or improving the documentation. If you have any suggestions, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT LICENSE

Keywords

FAQs

Package last updated on 04 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc