ProxyScrapeAPI 2.1.0

.NET Framework 4.6
dotnet add package ProxyScrapeAPI --version 2.1.0
NuGet\Install-Package ProxyScrapeAPI -Version 2.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ProxyScrapeAPI" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ProxyScrapeAPI --version 2.1.0
#r "nuget: ProxyScrapeAPI, 2.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ProxyScrapeAPI as a Cake Addin
#addin nuget:?package=ProxyScrapeAPI&version=2.1.0

// Install ProxyScrapeAPI as a Cake Tool
#tool nuget:?package=ProxyScrapeAPI&version=2.1.0

ProxyScrapeAPI

Proxyscrape.com API C# implementation

Кто хочет помочь идеями и кодом - https://t.me/temnij52

Example

     using ProxyScrapeAPI;
     // ...
     Scraper api = new Scraper();

     api.DownloadProxies(Scraper.ProxyType.Https, "https.txt", timeout: 600, ssl: Scraper.SSLType.yes,
            anonymity: Scraper.AnonymityType.elite, limit: 50, age: 5, port: 8081,
            averagetimeout: 5000); // Simply Download To File
            
     MessageBox.Show(api.GetProxies(Scraper.ProxyType.Https, timeout: 600, ssl: Scraper.SSLType.yes,
            anonymity: Scraper.AnonymityType.elite, limit: 50, age: 5, port: 8081,
            averagetimeout: 5000)); // Get ProxyList As String
            
     int count = api.AmountProxies(Scraper.ProxyType.Https, timeout: 600, ssl: Scraper.SSLType.yes,
            anonymity: Scraper.AnonymityType.elite, age: 5, port: 8081,
            averagetimeout: 5000); // Amount Of Specific Proxies As Int
            
     string lastUpdates = api.LastUpdates(Scraper.ProxyType.Socks4); // Get Time Of Last Update Proxies;
                                                             //  out - "Around 54 seconds ago"

'Необработанное исключение: System.Net.WebException: Запрос был прерван: Не удалось создать защищенный канал SSL/TLS'

     using System.Net;
     // ...
     ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls |
                                       SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
Product Versions
.NET Framework net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 285 12/24/2020
2.0.0 235 12/24/2020