mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
Feature: Get size by api for ptp btn and ggn (#66)
* chore: add package * feat: get size by api for ptp and btn * feat: download and parse torrent if not api * feat: bypass tls check and load meta from file * fix: no invite command needed for btn * feat: add ggn api * feat: imrpove logging * feat: build request url * feat: improve err logging
This commit is contained in:
parent
d2aa7c1e7e
commit
2ea2293745
32 changed files with 2181 additions and 99 deletions
22
pkg/btn/testdata/btn_get_user_info.json
vendored
Normal file
22
pkg/btn/testdata/btn_get_user_info.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"id": 1,
|
||||
"result": {
|
||||
"UserID": "0000000",
|
||||
"Username": "username",
|
||||
"Email": "email@example.com",
|
||||
"Upload": "90000000000004",
|
||||
"Download": "10000000000002",
|
||||
"Lumens": "10000",
|
||||
"Bonus": "1000000000",
|
||||
"JoinDate": "1578088136",
|
||||
"Title": "",
|
||||
"Enabled": "1",
|
||||
"Paranoia": "1",
|
||||
"Invites": "0",
|
||||
"Class": "Elite",
|
||||
"ClassLevel": "301",
|
||||
"HnR": "0",
|
||||
"UploadsSnatched": "100",
|
||||
"Snatches": "100"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue