Giter Site home page Giter Site logo

proxytools's Introduction

ProxyTools

This is a set of .NET projects to assist in spreading HTTP requests across proxies for the purposes of web scraping. The goal of these libraries together is to collect proxies, vet the effective ones, and provide automatic distribution of requests.

Getting Started

Create a database using MS Sql Server using the DatabaseTableSetup.sql script in the RequestDistributionDemo project. Update your appsettings.json and app.config configuration files accordingly to point to this database. Once this is set up, the next step is to run the ProxyAPI project, which contains a background service that will collect proxies for you to use. The libraries will throw exceptions if you try to initiate requests without an adequate supply of proxies, so run this and collect proxies first. Once this is initialized, you can utilize the endpoints provided in the ProxyAPI REST API to retrieve and score proxies. You can also include the RequestDistribution library in a project and utilize the RequestManager and/or RequestDistributor classes to manage your requests-- the RequestDistributionDemo project demonstrates a simple example of how to do this.

Prerequisites

You need to have Chrome installed, since requests can use ChromeDriver to execute requests. You may have to update the version of ChromeDriver contained in the RequestDistribution project to match your Chrome version.

Additional Notes

You'll note that this is still a work in progress and there are some aspects which are rather "raw". One thing to note is that this solution is currently a mixture of .NET Core, .NET Standard, and .NET Framework 4.6.1, which reflects the fact that I have not yet converted my applications using the RequestDistribution library over to .NET Core.

proxytools's People

Contributors

dougan778 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.