Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9133 from JosJuice/geckocodes-mirror
Replace geckocodes.org with mirror codes.rc24.xyz
  • Loading branch information
lioncash committed Oct 6, 2020
2 parents c2975c8 + 63f5fa6 commit dcaf2b9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Source/Core/Core/GeckoCodeConfig.cpp
Expand Up @@ -18,12 +18,10 @@ namespace Gecko
{
std::vector<GeckoCode> DownloadCodes(std::string gametdb_id, bool* succeeded)
{
std::string endpoint{"https://www.geckocodes.org/txt.php?txt=" + gametdb_id};
// codes.rc24.xyz is a mirror of the now defunct geckocodes.org.
std::string endpoint{"https://codes.rc24.xyz/txt.php?txt=" + gametdb_id};
Common::HttpRequest http;

// Circumvent high-tech DDOS protection
http.SetCookies("challenge=BitMitigate.com;");

// The server always redirects once to the same location.
http.FollowRedirects(1);

Expand Down

0 comments on commit dcaf2b9

Please sign in to comment.