Simple NodeJS code that uses HMA-Proxy-Scraper and Xroxy-Proxy-Scraper to scrape free proxies and insert them to the JSProxyPool db.
To start scraping for proxies simpley create a config.js
file in the same folder as the index.js
with this code:
var config = {};
config.dbConnectionString = "YOUR_MONGODB_CONNECTION_STRING";
config.proxiesCollectionName = "NAME_OF_THE_MONGO_COLLECTION";
module.exports = config;
Don't forget to replace YOUR_MONGODB_CONNECTION_STRING and NAME_OF_THE_MONGO_COLLECTION with your actual values.
And then run the code in index.js
MIT
Feel free to fork and contribute :)