This C# web scraper project uses Selenium and HtmlAgilityPack to collect proxy server data from proxyservers.pro and saves it in various formats (HTML, JSON, and Database).
- .NET SDK installed
- ChromeDriver installed and added to your system's PATH.
-
Clone this repository:
git clone https://github.com/your-username/web-scraper.git
-
Navigate to the project directory:
cd web-scraper
-
Download dependencies:
dotnet restore
-
Apply database migrations:
dotnet ef database update
-
Build the project:
dotnet build
-
Run the project:
dotnet run
- The base URL for scraping is set in the
baseUrl
variable in theProgram.cs
file. - The project uses SQLite as the default database. You can change the database configuration in the
DataContext.cs
file.
This project is licensed under the MIT License - see the LICENSE file for details.