-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
J
authored and
J
committed
Mar 1, 2021
1 parent
86ed28c
commit 8cde6ab
Showing
17 changed files
with
103 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace CapMonsterCloud.Exceptions | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace CapMonsterCloud.Exceptions | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
CapMonsterCloud/Models/CaptchaTasks/FunCaptchaTaskProxyless.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace CapMonsterCloud.Models.CaptchaTasks | ||
{ | ||
public class HCaptchaTask : CaptchaTask | ||
{ | ||
public HCaptchaTask() | ||
{ | ||
Type = "HCaptchaTask"; | ||
} | ||
|
||
/// <summary> | ||
/// Address of a webpage with HCaptcha | ||
/// </summary> | ||
[JsonProperty("websiteURL")] | ||
public string WebsiteUrl { get; set; } | ||
|
||
/// <summary> | ||
/// HCaptcha website key. | ||
/// </summary> | ||
public string WebsiteKey { get; set; } | ||
|
||
/// <summary> | ||
/// Type of the proxy | ||
/// http, https, socks4, socks5 | ||
/// </summary> | ||
public string ProxyType { get; set; } | ||
|
||
/// <summary> | ||
/// Proxy IP address IPv4/IPv6 | ||
/// </summary> | ||
public string ProxyAddress { get; set; } | ||
|
||
/// <summary> | ||
/// Proxy port | ||
/// </summary> | ||
public int ProxyPort { get; set; } | ||
|
||
/// <summary> | ||
/// Login for proxy which requires authorizaiton (basic) | ||
/// </summary> | ||
public string ProxyUsername { get; set; } | ||
|
||
/// <summary> | ||
/// Proxy password | ||
/// </summary> | ||
public string ProxyPassword { get; set; } | ||
|
||
/// <summary> | ||
/// Browser's User-Agent which is used in emulation. | ||
/// It is required that you use a signature of a modern browser, | ||
/// otherwise HCaptcha will ask you to "update your browser". | ||
/// </summary> | ||
public string UserAgent { get; set; } | ||
|
||
/// <summary> | ||
/// Additional cookies which we must use during interaction with target page or HCaptcha. | ||
/// Format: cookiename1=cookievalue1; cookiename2=cookievalue2 | ||
/// </summary> | ||
public string Cookies { get; set; } | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
CapMonsterCloud/Models/CaptchaTasks/HCaptchaTaskProxyless.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace CapMonsterCloud.Models.CaptchaTasks | ||
{ | ||
public class HCaptchaTaskProxyless : CaptchaTask | ||
{ | ||
public HCaptchaTaskProxyless() | ||
{ | ||
Type = "HCaptchaTaskProxyless"; | ||
} | ||
|
||
/// <summary> | ||
/// Address of a webpage with Hcaptcha | ||
/// </summary> | ||
[JsonProperty("websiteURL")] | ||
public string WebsiteUrl { get; set; } | ||
|
||
/// <summary> | ||
/// HCaptcha website key. | ||
/// </summary> | ||
public string WebsiteKey { get; set; } | ||
|
||
/// <summary> | ||
/// Browser's User-Agent which is used in emulation. | ||
/// It is required that you use a signature of a modern browser, | ||
/// otherwise Hcaptcha will ask you to "update your browser". | ||
/// </summary> | ||
public string UserAgent { get; set; } | ||
|
||
/// <summary> | ||
/// Additional cookies which we must use during interaction with target page or Hcaptcha. | ||
/// Format: cookiename1=cookievalue1; cookiename2=cookievalue2 | ||
/// </summary> | ||
public string Cookies { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
CapMonsterCloud/Models/CaptchaTasks/NoCaptchaTaskProxyless.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
CapMonsterCloud/Models/CaptchaTasks/RecaptchaV3TaskProxyless.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters