by Homyland » Fri Dec 02, 2022 2:22 pm
by Frisbeeteria » Fri Dec 02, 2022 4:12 pm
by Chingis » Fri Dec 02, 2022 5:16 pm
Homyland wrote:So I'm working on a little browser-style program in Python, and to test if it works i just type up "nationstates.net" as the URL. I've only done this about 5 times right now. I am not logged in while doing this, however it's automatically going onto the site, sometimes in quick succession.
Can I get punished for this?
by Kamchatska » Fri Dec 02, 2022 5:19 pm
Kamchatska is located in Eastern Siberia, the country has a population of 3.7 Million, the Countries Strong Economy is at 316.4 Billion GDP, with he Large City of Viktorgrad being the Capital, and the country is lead by its Current President, Petya Makarov.
The Viktorgrad Times: - Horrible Volcanic Eruptions take place, many lives ruined
by Homyland » Sat Dec 03, 2022 12:52 am
by Trotterdam » Sat Dec 03, 2022 12:39 pm
No you're not. The main purpose of the ratelimit (the main ratelimit, anyway, not the separate ratelimit for API telegrams) is to avoid putting excess load on the server, not to avoid giving some players an undue advantage, so it still applies when not logged in. The vast majority of NationStates scripts gather data that does not require being logged in to see.Kamchatska wrote:If your just browsing through the forums and looking through Factbooks without being logged in, then you a perfectly fine.
What is your program actually meant to do? Is its main purpose not actually related to NationStates and you're just randomly testing it on NationStates because that was the first site you could think of?Homyland wrote:So I'm working on a little browser-style program in Python, and to test if it works i just type up "nationstates.net" as the URL. I've only done this about 5 times right now. I am not logged in while doing this, however it's automatically going onto the site, sometimes in quick succession.
by Homyland » Sat Dec 03, 2022 3:16 pm
Trotterdam wrote:No you're not. The main purpose of the ratelimit (the main ratelimit, anyway, not the separate ratelimit for API telegrams) is to avoid putting excess load on the server, not to avoid giving some players an undue advantage, so it still applies when not logged in. The vast majority of NationStates scripts gather data that does not require being logged in to see.Kamchatska wrote:If your just browsing through the forums and looking through Factbooks without being logged in, then you a perfectly fine.What is your program actually meant to do? Is its main purpose not actually related to NationStates and you're just randomly testing it on NationStates because that was the first site you could think of?Homyland wrote:So I'm working on a little browser-style program in Python, and to test if it works i just type up "nationstates.net" as the URL. I've only done this about 5 times right now. I am not logged in while doing this, however it's automatically going onto the site, sometimes in quick succession.
You call it "browser-style". If it works like a normal web browser (only loads a per once per time that the user clicks on it), then it shouldn't be a problem, but why would such a program visit the site "in quick succession"?
It's really hard to give any concrete advice when you're this vague.
by Trotterdam » Sat Dec 03, 2022 6:38 pm
Wikipedia?Homyland wrote:Yeah, it's basically a browser, and yeah, this is the first site i can think of that doesn't sell my existence away the moment I click into it.
You mean like:Homyland wrote:What I mean is sometimes i open it up, close it, make a quick change, and open it up again.
by United Calanworie » Sat Dec 03, 2022 11:23 pm
by Homyland » Sun Dec 04, 2022 2:17 am
Trotterdam wrote:Wikipedia?Homyland wrote:Yeah, it's basically a browser, and yeah, this is the first site i can think of that doesn't sell my existence away the moment I click into it.You mean like:Homyland wrote:What I mean is sometimes i open it up, close it, make a quick change, and open it up again.
1. Open NationStates in your browser.
2. Notice that it's not working quite as desired because a bug in your browser.
3. Go into your code and fix it.
4. Restart your browser and open NationStates again in order to see if the fix worked.
?
I can't imagine that being a problem. Fixing code takes time, even for relatively small changes. It's not uncommon for manual users to open several pages a few seconds apart, such as when browsing through a World Census ranking list (10 nations at a time), heading to the World Assembly page and then immediately clicking onward to the resolution at vote, being in a nation's factbook list and deciding to open all the factbooks in separate tabs in rapid succession, etc. A burst of opening a few pages in rapid succession isn't a big deal so long as you then go a few minutes without doing anything else, which is usual browsing behavior for people.
There's no rule against accessing NationStates using exotic browsers, so long as their functionality falls within the general bounds of the kinds of things browsers normally do.
That said, you should consider making sure that your browser is setting a User-Agent correctly. Most mainstream browsers set a User-Agent so websites can tell which browsers its users are connecting with, although sometimes they allow disabling this for privacy reasons, so it's not strictly necessary. Although NationStates officially requires User-Agents to be set for all scripting access, the manual website does work without setting a User-Agent, but the admins will probably be happier if you set one, though you'd have to ask them how important it is. Especially when the browser is still experimental, a User-Agent would help the admins to contact you if there are any issues that need resolving (a properly-working browser isn't against the site rules, but it's conceivable that a bug in your browser could cause accidental violations). Of course, normally, a browser User-Agent wouldn't identify anything about your nation specifically, just say the name of the browser you're using.
United Calanworie wrote:Okay so let me see if I've got this right.
You are building a web browser. In the course of building this browser, you are opening the url https://nationstates.net/ as a test case and rendering the content thereof onto your screen. You wish to know if you are violating the rules by doing so.
Assuming that I have the above correct, this is what I'd say. It is not, by default, illegal to access the page via a tool that is not a mainstream browser. Since you are visiting the site as a logged-out user, we do not need to worry about restricted actions being taken. Therefore, there are only really two things that you really need to consider here from the script rules.
- Set a User Agent
This is not optional. Please identify your tool. Preferably with contact information for you. The way I write my useragents that target the API is something along the lines of this: ToolName // vX.X.X // Developed by nation=united_calanworie // Email <user>@<provider>.<tld>
- Obey Rate Limits
If your tool makes **any** requests that are not a direct, 1:1 human input to action request, they must obey the limit of no more than ten requests per minute. Please do not exceed this limit, please try to stay south of it and not constantly bumping up against it.
If you can manage to abide by these very simple restrictions (which I am *confident* that you can), there should be no problems.
by Trotterdam » Sun Dec 04, 2022 9:32 am
...Why.Homyland wrote:It just reads your URL and puts it into whatever default browser you're using.
by Homyland » Thu Feb 02, 2023 10:07 am
Advertisement
Users browsing this forum: Ammmericaaaa, Athinya, Canton Empire, Elaedris, Khantin, La Paz de Los Ricos, Luziyca, Merethin, New Gehenna, North American Imperial State, Planetary Soviet Socialist Republics, Reyo, Saint Neots, The Southern Dependencies, United Calanworie, United Taco Nation
Advertisement