UtilGameFaqsScrapCheats(String, WebProxy, String) Method
Gets the published cheats in a game's profile page from gamefaqs.com website.
Namespace: DevCase.ThirdParty.GameFaqsAssembly: DevCase.net48.ThirdParty.GameFaqs (in DevCase.net48.ThirdParty.GameFaqs.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string ScrapCheats(
string gamefaqsUrl,
WebProxy sslProxy = null,
string userAgent = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
)
Public Shared Function ScrapCheats (
gamefaqsUrl As String,
Optional sslProxy As WebProxy = Nothing,
Optional userAgent As String = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
) As String
Dim gamefaqsUrl As String
Dim sslProxy As WebProxy
Dim userAgent As String
Dim returnValue As String
returnValue = UtilGameFaqs.ScrapCheats(gamefaqsUrl,
sslProxy, userAgent)
public:
static String^ ScrapCheats(
String^ gamefaqsUrl,
WebProxy^ sslProxy = nullptr,
String^ userAgent = L"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
)
static member ScrapCheats :
gamefaqsUrl : string *
?sslProxy : WebProxy *
?userAgent : string
(* Defaults:
let _sslProxy = defaultArg sslProxy null
let _userAgent = defaultArg userAgent "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
*)
-> string
No code example is currently available or this language may not be supported.
- gamefaqsUrl String
-
The url that points to a game's profile page from gamefaqs.com website.
(eg. https://gamefaqs.gamespot.com/ps2/914828-metal-gear-solid-3-snake-eater)
- sslProxy WebProxy (Optional)
-
A custom WebProxy to do the web request to gamefaqs.com website (the proxy must support SSL).
If this parameter is empty, no proxy is used.
- userAgent String (Optional)
-
A web-browser user-agent to assign in the request to gamefaqs.com website.
Default value is: "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
String
A string in HTML format that contains the available cheats,
or
if the game page does not contains cheats.
This is a code example.
No code example is currently available or this language may not be supported.
Dim uri As As String = "https://gamefaqs.gamespot.com/ps2/914828-metal-gear-solid-3-snake-eater"
Dim cheats As String = ScrapCheats(url)
Console.WriteLine(cheats)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.