mirror of
https://github.com/karust/openserp.git
synced 2026-08-05 16:53:54 +08:00
Default ratelimeter
This commit is contained in:
@@ -35,14 +35,14 @@ You can replace `google` to `yandex` or `baidu` in query to change search engine
|
||||
| lang | Search pages in selected language (`EN`, `DE`, `RU`...) |
|
||||
| date | Date in `YYYYMMDD..YYYYMMDD` format (e.g. 20181010..20231010) |
|
||||
| file | File extension to search (e.g. `PDF`, `DOC`) |
|
||||
| site | Search only in selected site |
|
||||
| site | Search within a specific website |
|
||||
| limit | Limit the number of results |
|
||||
|
||||
### *Example response*
|
||||
```JSON
|
||||
[
|
||||
{
|
||||
"rank": 0,
|
||||
"rank": 1,
|
||||
"url": "https://en.wikipedia.org/wiki/%22Hello,_World!%22_program",
|
||||
"title": "\"Hello, World!\" program",
|
||||
"description": "A \"Hello, World!\" program is generally a computer program that ignores any input, and outputs or displays a message similar to \"Hello, World!\"."
|
||||
@@ -50,8 +50,6 @@ You can replace `google` to `yandex` or `baidu` in query to change search engine
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
|
||||
## CLI <a name="cli"></a> ⌨️
|
||||
* Use `-h` flag to see commands.
|
||||
* You can use `serve` command to serve API:
|
||||
@@ -66,7 +64,7 @@ As a result you should get JSON output containting search results:
|
||||
```json
|
||||
[
|
||||
{
|
||||
"rank": 0,
|
||||
"rank": 1,
|
||||
"url": "https://www.cyberoptik.net/blog/6-sure-fire-ways-to-get-banned-from-google/",
|
||||
"title": "11 Sure-Fire Ways to Get Banned From Google | CyberOptik",
|
||||
"description": "How To Get Banned From Google · 1. Cloaking: The Art of Deception · 2. Plagiarism: Because Originality is Overrated · 3. Keyword Stuffing: More is Always Better · 4 ..."
|
||||
|
||||
Reference in New Issue
Block a user