ProxyScrapeAPI 2.1.0
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
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.