Redirect to Beta Map for non-logged in users

Developers and contributors can find a link to our github page and engage in development project planning here.
Post Reply
Message
Author
User avatar
DougJoe
Posts: 910
Joined: Thu Aug 15, 2019 9:02 pm
Location: Alto, MI, USA
Karma: 222
Contact:

Redirect to Beta Map for non-logged in users

#1 Post by DougJoe » Thu Oct 12, 2023 3:46 am

I noticed that when I'm not logged into the site and I try to browse to something like "https://webdiplomacy.net/board.php?game ... ive=Orders" I automatically get redirected to the beta version of the map. By chance is there something that I can put in the URL to prevent the redirection?

(This is for a .NET app that I wrote a while ago that pulls down the orders page then parses the HTML for the S01 moves for analysis of bot games. Used to work great, was going to pull my last 49 games down to add to my dataset... when I get redirected to the beta map, I get errors about javascript not being enabled.)

User avatar
kestasjk
Developer
Developer
Posts: 522
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 788
Contact:

Re: Redirect to Beta Map for non-logged in users

#2 Post by kestasjk » Sat Dec 09, 2023 6:58 am

Try adding &view=dropDown to the request, I think that should do it

Post Reply

Who is online

Users browsing this forum: No registered users and 91 guests