-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbot-etiquette.html
55 lines (41 loc) · 1.57 KB
/
bot-etiquette.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bot etiquette for Weasyl</title>
<style>
body {
font: 1em/1.5 sans-serif;
max-width: 50em;
}
ul {
padding-left: 1em;
}
h4 {
margin-bottom: 8px;
}
blockquote {
background-color: #eee;
color: black;
border-radius: 4px;
margin: 0;
padding: 8px;
}
samp {
font: inherit;
}
</style>
<p>When sending automated requests to Weasyl (whether on behalf of a user or not), to help us keep track of and manage malicious and unwanted traffic, we’d appreciate it if you:
<ul>
<li>
<h3>Use an identifying <code>User-Agent</code> header that doesn’t imitate a browser.</h3>
<h4>Yes</h4>
<blockquote><samp>Example-App/1.0 (+https://domain.example/page-with-info-about-your-app)</samp></blockquote>
<h4>No</h4>
<blockquote><samp>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0</samp></blockquote>
<p>Even if your request comes from a real browser, e.g. from an extension or in headless mode, please take the time to extend the <code>User-Agent</code> header to distinguish your app or bot if technically possible.</p>
<li>
<h3>Send requests at a reasonable rate.</h3>
<p>At most one request per second, say, if sending a large batch of requests. (Small groups of requests as a result of user action don’t need to be rate-limited.) Retry failed requests with exponential backoff.</p>
</ul>
<p>For any questions/concerns/requests, see the Support section at the end of <a href="https://www.weasyl.com/">any Weasyl page</a>.