You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# RT-CV scraper client
2
+
A helper program that aims to ease the communication between a scraper and [RT-CV](https://bitbucket.org/teamscript/rt-cv)
2
3
3
-
A helper program that aims to ease the communication between a scraper and [RT-CV](https://github.com/script-development/RT-CV)
4
4
5
5
## How does this work?
6
6
@@ -144,6 +144,42 @@ Check if a reference number is in the cache
144
144
- Body: The reference number
145
145
- Resp: **true** / **false**
146
146
147
+
### `$SCRAPER_ADDRESS/server_request`
148
+
149
+
This route only response when once rt-cv has a request for the scraper.
150
+
151
+
This url should be called continously by the scraper and should have no request timeout as this request might take hours to before RT-CV sends a request.
152
+
153
+
- Resp: a request for something by RT-CV
154
+
155
+
The request and respones are defined in [bitbucket.org/teamscript/rt-cv > /controller/scraperWebsocket/README.md](https://bitbucket.org/teamscript/rt-cv/src/main/controller/scraperWebsocket/README.md)
156
+
157
+
```jsonc
158
+
{
159
+
"type": "message type",
160
+
"id": "message id",
161
+
"data": {} // Change this
162
+
}
163
+
```
164
+
165
+
### `$SCRAPER_ADDRESS/server_response`
166
+
167
+
You should send a response to `/server_request` to this url
168
+
169
+
- Body: Almost equal to the response of `/server_request` but with the data changed to what RT-CV expected
170
+
171
+
The request and respones are defined in [bitbucket.org/teamscript/rt-cv > /controller/scraperWebsocket/README.md](https://bitbucket.org/teamscript/rt-cv/src/main/controller/scraperWebsocket/README.md)
172
+
173
+
```jsonc
174
+
{
175
+
"type": "message type",
176
+
"id": "message id",
177
+
"data": {} // Change this
178
+
}
179
+
```
180
+
181
+
- Resp: **true**
182
+
147
183
## `env.json` is in another dir or has another name?
148
184
149
185
You can change the credentials file location using this shell variable
0 commit comments