diff --git a/Makefile b/Makefile index 1a18093..16bb06e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ test: go test ./... --cover torrent-test: - go run cmd/main.go -c qbit-4.3.2 -t internal/bencode/torrent_files_test/Fedora-Workstation-Live-x86_64-33.torrent -d 0% -ds 100kbps -u 0% -us 100kbps -debug + go run cmd/main.go -c qbit-4.3.3 -t internal/bencode/torrent_files_test/Fedora-Workstation-Live-x86_64-33.torrent -d 0% -ds 100kbps -u 0% -us 100kbps -debug release: @if test -z "$(rsversion)"; then echo "usage: make release rsversion=v1.2"; exit 1; fi diff --git a/README.md b/README.md index 82079c2..ae481cb 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ usage: optional arguments: -h show this help message and exit - -p [PORT] change the port number, the default is 8999 + -p [PORT] change the port number, default: 8999 -c [CLIENT_CODE] change the client emulation, default: qbit-4.0.3 required arguments: @@ -30,7 +30,7 @@ required arguments: and must be in %, b, kb, mb, gb, tb and must be in kbps, mbps -[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.2 +[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.3 ``` ``` diff --git a/cmd/main.go b/cmd/main.go index 1b7e365..aafcf33 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -42,7 +42,7 @@ required arguments: and must be in %, b, kb, mb, gb, tb and must be in kbps, mbps -[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.2 +[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.3 `) } diff --git a/internal/emulation/static/qbit-4.3.2.json b/internal/emulation/static/qbit-4.3.3.json similarity index 76% rename from internal/emulation/static/qbit-4.3.2.json rename to internal/emulation/static/qbit-4.3.3.json index 3431fac..65dfd97 100644 --- a/internal/emulation/static/qbit-4.3.2.json +++ b/internal/emulation/static/qbit-4.3.3.json @@ -1,7 +1,7 @@ { - "name":"qBittorrent v4.3.2", + "name":"qBittorrent v4.3.3", "peerId":{ - "regex":"-qB4320-[A-Za-z0-9_~\\(\\)\\!\\.\\*-]{12}" + "regex":"-qB4330-[A-Za-z0-9_~\\(\\)\\!\\.\\*-]{12}" }, "key": { "generator":"defaultKeyGenerator" @@ -11,7 +11,7 @@ }, "query":"info_hash={infohash}&peer_id={peerid}&port={port}&uploaded={uploaded}&downloaded={downloaded}&left={left}&corrupt=0&key={key}&event={event}&numwant={numwant}&compact=1&no_peer_id=1&supportcrypto=1&redundant=0", "headers":{ - "User-Agent" :"qBittorrent/4.3.2", + "User-Agent" :"qBittorrent/4.3.3", "Accept-Encoding": "gzip" } } \ No newline at end of file