mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(indexers): add API support for Orpheus to fetch size (#944)
* feat(indexers): add API support for Orpheus * feat(filters): add ops to AdditionalSizeCheck
This commit is contained in:
parent
8bef297841
commit
8925266104
9 changed files with 481 additions and 3 deletions
29
pkg/ops/testdata/get_index.json
vendored
Normal file
29
pkg/ops/testdata/get_index.json
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"status": "success",
|
||||
"response": {
|
||||
"username": "username",
|
||||
"id": 1,
|
||||
"authkey": "redacted",
|
||||
"passkey": "redacted",
|
||||
"notifications": {
|
||||
"messages": 0,
|
||||
"notifications": 0,
|
||||
"newAnnouncement": false,
|
||||
"newBlog": false,
|
||||
"newSubscriptions": false
|
||||
},
|
||||
"userstats": {
|
||||
"uploaded": 0,
|
||||
"downloaded": 0,
|
||||
"ratio": -1,
|
||||
"requiredratio": 0,
|
||||
"bonusPoints": 0,
|
||||
"bonusPointsPerHour": 0.0,
|
||||
"class": "User"
|
||||
}
|
||||
},
|
||||
"info": {
|
||||
"source": "Orpheus",
|
||||
"version": 1
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue