{"id":20434600,"url":"https://github.com/arstgit/ya-proxy-pool","last_synced_at":"2026-05-09T13:36:45.057Z","repository":{"id":52212653,"uuid":"234735956","full_name":"arstgit/ya-proxy-pool","owner":"arstgit","description":"Yet another proxy pool implementation.","archived":false,"fork":false,"pushed_at":"2022-12-10T15:31:08.000Z","size":30,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T23:17:12.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arstgit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-18T13:06:28.000Z","updated_at":"2023-02-23T05:19:19.000Z","dependencies_parsed_at":"2023-01-26T03:30:19.560Z","dependency_job_id":null,"html_url":"https://github.com/arstgit/ya-proxy-pool","commit_stats":null,"previous_names":["derekchuank/ya-proxy-pool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arstgit%2Fya-proxy-pool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arstgit%2Fya-proxy-pool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arstgit%2Fya-proxy-pool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arstgit%2Fya-proxy-pool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arstgit","download_url":"https://codeload.github.com/arstgit/ya-proxy-pool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241977162,"owners_count":20051777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T08:27:48.425Z","updated_at":"2026-05-09T13:36:40.032Z","avatar_url":"https://github.com/arstgit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ya-proxy-pool\n\n[![Build Status](https://travis-ci.org/derekchuank/ya-proxy-pool.svg?branch=master)](https://travis-ci.org/derekchuank/ya-proxy-pool)\n[![npm version](https://badge.fury.io/js/ya-proxy-pool.svg)](http://badge.fury.io/js/ya-proxy-pool)\n\n## Prerequisites\n\n  redis or docker and docker-compose, surely we prefer docker and docker-compose.\n\n```\n  apt-get install redis\n```\n\nor\n\n```\n  apt install docker.io docker-compose\n```\n\n## Configfile\n  The config file is located in `config/default.json`, you can create another file to rewrite the default config, Seeing `ya-config-loader(https://github.com/derekchuank/ya-config-loader)`.\n  - `NAME`. Whatever you like.\n  - `REDIS`. Redis config, passed to redis driver package. \n  - `TEST_TARGET`. The URL used to test a proxy usable or not.\n  - `SCOUR_INTERVAL`. milliseconds. The testing proxies action time interval.\n  - `SCOUR_BATCH`. seconds. Number of proxies of a testing proxies acion.\n  - `SPIDER_INTERVAL`. milliseconds. The time interval between crawling acions.\n  - `IP_IDLE_INTERVAL`. milliseconds. A proxy can idle some time before tested again.\n  - `IP_TIMEOUT`. milliseconds. Http request timeout.\n\n## Usage\n  if you have docker and docker-compose installed.\n```\n  npm run up\n```\n\n  or, start a redis-server first, and config your redis related configration, then:\n```\n  npm start\n```\n\n## Data storage\n  With docker and docker-compose, your data is writen in directoy `data`. All ips and ports information are stored in a `sorted set` with a key named `${config.NAME}:ip`. In the sorted set, the score means last tested time.\n\n## About proxy resource\n  All proxy resource addresses and related retriving methods are written in `src/core.js`. Feel free to modify the file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farstgit%2Fya-proxy-pool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farstgit%2Fya-proxy-pool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farstgit%2Fya-proxy-pool/lists"}