Changelog
- ef64e58 Add AcceptAnyFree option
- 7fb45ed Create go.yml
- 35b393c Make brush support multiple sites
- d540e21 Merge branch 'master' of https://github.com/sagan/ptool
- 0565341 Merge branch 'master' of https://github.com/sagan/ptool
- b1924d9 Merge branch 'master' of https://github.com/sagan/ptool
- 67e1aa6 Merge branch 'tr'
- dff7946 Merge pull request sagan#21 from chain710/feat/mteam202403
- bd42934 Merge pull request sagan#33 from chain710/feat/allowpersite
- a68413a Merge pull request sagan#57 from Jadeiin/master
- 672c23f Merge pull request sagan#60 from fjh1997/master
- ac9ad62 Merge pull request sagan#61 from Jadeiin/master
- 8e98eb8 Merge pull request sagan#65 from Jadeiin/master
- e4e2cb8 Update README
- a4e80cf Update README
- 4772390 Update example config
- 6cfd827 adapt to new iyuu api
- 069d1be add '--only-downloaded' flag to batchdl cmd; minor tweaks
- 443e4ad add 'config' and 'renametag' cmd
- 1bef2c9 add 'findalone' cmd; update user agent to Chrome v124
- cf5007e add 'markinvalidtracker' and 'moveclient' cmd
- 8a018e1 add 'movesavepath' cmd
- ec41dae add 'run' command which accepts the whole ptool cmdline as single arg
- e3c0b26 add 'set-readonly' flag to hardlink cmds
- 2f98bd0 add 'skipchecking' cmd
- 5b81068 add --append to partialdownload cmd; add other flags
- 2d14345 add --download-skip-existing to dltorrent cmd; other tweaks
- e5f751b add --fork global flag to run ptool in background
- 4efe386 add --includes flag to batchdl cmd
- 2afa119 add --json flag to partialdownload cmd
- 4c59729 add --old-tracker flag to addtrackers cmd
- 5315f8b add --rename-added flag to addlocal cmd
- a050226 add --strict flag to partialdownload cmd
- b774d57 add --sum flag to show command
- a55a1e7 add --sum flag to verifytorrent cmd
- 4da3c0b add --timezone global flag. 'show' cmd can now display and filter by save path
- 9aedfcc add --use-comment-meta flag to 'add' & 'export' cmd; fix bugs
- 874ff5a add 2xfree parsing for np sites
- b99d10f add 52pt site
- c08c024 add FutureValue field
- 83590b6 add GlobalHnR option to site
- d65671d add Old Toons World site
- 99b1a5b add _noadd flag; add delete command; update README
- 21f5c83 add _undone state filter
- a9ffc90 add a close method to client interface
- 097dd25 add a cloudflare bypasser for test
- 96f8d91 add a few flags to improve co-work ability with other scripts
- e146ea9 add a new verifytorrent command; re-work torrent parse codes
- 2d09bc0 add active torrent detection for frds
- f2cd50a add add subcommand and other tweaks for cookiecloud cmd
- cd3cb24 add add-paused flag to 'publish' cmd
- c8b6726 add add-save-path flag to add / addlocal / ebookgod cmd
- 350ea35 add addtags, removetags cmd; enhance add, dltorrent cmd;
- 17acdfc add addtrackers / removetrackers cmd; other tweaks
- a47418e add alias feature
- 933a55e add alias feature to internal supported sites
- d9db6c0 add an interactive shell command; re-factor cobra codes to use RunE instead of Run
- 59aa8f7 add back torrent id in downloaded torrent files; add unfinished torrents total size info to client status
- 7923a8a add baseUrl to search and ebookgod command; add hdarea site
- ebb721e add boilerplate for reseed cmd
- 1d0f53b add boilerplate of 'dynamicseeding' cmd'
- 7cd030e add brush min torrent size support
- 7f38d8e add brush summary output
- 8a91799 add brushAllowHr config item
- af7c501 add brushExcludes site config
- db9f503 add brushExcludes site option
- eb356d7 add brushMinRatio parameter
- 471fdbe add build date / commit info to version
- ca1098d add cache support for shell; improve commands usage help output
- 6ad295d add chdbits site
- e7dc939 add chectag cmd; improve xseedadd cmd
- eda98c3 add client / site name to log output
- 65fe6cb add client UnfinishedDL status display
- 7834da1 add client torrents infohash auto-completion for shell
- 259b057 add common china pt sites to tpl
- 886ddc8 add cookie expiration detection for nexusphp sites
- 5e1cb46 add cookiecloud sync cookies / import sites features
- 8d09358 add createcategory, removecategories commands; add more flags for some commands
- 83fef86 add dicmusic and jpopsuki sites
- 2e38524 add discfan site
- d110111 add dltorrent cmd; enhance ebookgod cmd; re-factor codes
- e761d32 add ebookgod command (not finished yet)
- 4044d08 add edittorrent cmd
- f2d3902 add edittracker cmd (working)
- f604364 add export cmd
- 5abdbc6 add feature that deleting torrent while preserving files if any other xseed torrent exists
- 1443203 add filter flag to parsetorrent cmd
- f9c388c add firefox121 impersonate
- b027baa add frds site
- 069060e add goreleaser
- b07e806 add haresclub and okpt sites
- cfaf532 add hdhome site
- 8e4b7fe add hdkyl site
- 03a8f01 add hdpt site
- 2206b2c add hudbt site
- 9b0c7aa add iyuu command structure
- 336218f add iyuu function codes
- d5bd5fa add ja3 tls footprinting resistance
- 8d56209 add logrus as logging library; add version command
- 41b9078 add maketorrent cmd
- d2815ae add maxDownloadingTorrents, maxTorrents option to client / brush
- b68366d add modifytorrent cmd
- cd00ab6 add more client control functions
- 5249ca3 add more constants to brush algorithm
- c8096a3 add more debug output
- 31a5a48 add more flags to some commands
- ee893d0 add more options to status command
- 78f5d6d add more options to xseed cmd;
- 83d028b add neutral torrent support for some sites
- 1956747 add new error message for deleted torrents in tracker validation
- 39fd161 add parsetorrent command
- 14d76ea add partialdownload command
- 21ed672 add per site proxy config
- 2195297 add pieces hash to parsetorrent cmd's output
- f9563cc add preliminary codes for CookieCloud support
- ecb415f add ptlsp site
- 5957a73 add ptvicomo site
- abb1dc4 add publicTorrentRatioLimit config item; add --check flag to 'cookiecloud get' cmd
- 27f03f7 add publish cmd boilerplate
- f4c0cac add qb / tr native preferences support for clientctl cmd
- 9055b32 add qb no login mode support
- 2845edf add qbittorrentNoLogOut config item
- a81268b add quick check mode to verifytorrent cmd; add hardlink cmd; v-0.1.9
- 947408a add rclone support for verifytorrent cmd
- 34dcbc9 add recheck, sites command; add group feature
- 2f18088 add reseed cmd
- ecc934c add search command and refactor np site support
- 85a1042 add setsavepath cmd
- dd3cae9 add setsharelimits cmd
- b9c8668 add site tpl support
- aa26f8f add skyeysnow site support
- 1b897bf add some aliases for command with pre-defined args or flags
- 3f813fb add some new flags to batchdl cmd
- e38e68e add some new sites
- a667460 add some sites
- 3b8a2f4 add some sites
- 9e1ac8a add statistics feature
- 24af488 add stats recording function
- 2304a5e add summary info output to some commands
- dfaef01 add support for HTTP(S)_PROXY env
- a2c05e6 add support for current hhanclub UI
- 1b3bae2 add support for non-trackers torrent
- 17350a9 add support for paid (use bonus points) torrents; improve nexusphp support
- 0d04736 add support for qb sequentialDownload flag when adding new torrent
- b7b9134 add support for ttg site
- bf1eea3 add tccf site; improve global free recognization for nexusphp sites
- a0474de add template for greatposterwall site
- 4305f51 add template for unit3d sites
- 425c33a add template for zhuque (tnode) site
- c849e4b add tidyup command
- e21b41c add toml format config file support
- cf68035 add torrent description for nexusphp sites; add --excludes flag to batchdl cmd
- 18640e3 add torrentUploadSpeedLimit option to site and brush
- 366ddbd add transmission client support (still working)
- 7ee6171 add tu88 site
- 2dbd0ed add ubits site
- 91deb9d add ultrahd site
- 6bc3561 add username to site status
- 7a219f7 add variable placeholders for rename flag in 'add' and 'dltorrent' cmd
- c306b13 add wildcard filename support for addlocal / parsetorrent cmd
- 856c96b add xinglin site
- d2a7118 add xseedadd cmd; parsetorrent and some other cmds now also accept torrent url arg
- ce5a0e9 allow !cmd style external command invocation in shell
- c08a3bf allow brush sites in order
- 6e74d3a allow custom http request headers for sites; improve handling of multiple same sites in config
- cf7bd67 allow delete torrents by conditions; show cmd allow filtering by tracker domain or torrent size
- b1813d0 allow disable clients / sites
- 68d626e allow using 'none' as category or tag flag value to query uncategoried or untagged torrents of client
- 9bf2d47 always mark hr flag for torrent of site which enforces global hr policy
- 5e3482e always prefer config file location in user home dir
- a40cf98 always skip nexusphp site torrent download notice (eg. first time / low ratio)
- 5200b40 and --no-paid flag to batchdl cmd
- d43fd3a batchdl cmd prints more statistics info
- 9a3c784 brush and dynamicseeding cmd now do torrent deletion in batch mode
- 0143d0c brush can get latest torrents from multiple url now
- e8f94e0 brush task now do not exclude really old torrents
- 1e6b1aa brush task remove error torrents
- e9619cb build: add gh_action for build docker image
- de677e0 change brush maxTorrents option logic
- 196db91 change brush minRatio algorithm
- d7b02ca change default iyuu domain
- 9845c0f change methods of Client and Site to return []*Torrent instead of []Torrent
- c5a0e0c change the default behavior of 'markinvalidtracker' cmd
- 7ce54be check torrent root folder existence in client before adding it
- 94554b8 chore: complete upload/download multiplier
- 62846b7 clean and format codes
- 3c71cb8 clientctl command now support write tr_* preferences
- d5049e9 commands that has args of filenames now accept - as input from stdin
- f048497 cookiecloud sync now ignore cloudflare-only-cookie
- e5b30eb disable console quick edit mode on Windows
- 951abe8 do not count slow downloading torrents
- 9827d67 enhance edittracker cmd to allow replace all old trackers of same host with new tracker url
- 1dd9368 enhance show cmd; improve some cmds
- eb03c5f exclude duplicate records in stats
- 26d5d30 feat: adapt new mteam api
- 9240ad6 feat: limit torrent count per site
- a9a4e14 finish ebookgod command function
- 6b2cf45 finish edittracker cmd; add tlfbits site
- 090fd28 finish first version 'dynamicseeding' cmd
- ba4ee75 finish first version 'publish' cmd
- 98c164a finish transmission client works
- dd5f21e first commit
- 1343ac7 fix a bug
- b6866c0 fix a bug
- 9f0d28d fix a bug
- 023106b fix a bug
- 2f6e8cf fix a bug
- dbf6a68 fix a bug in 'dynamicseeding' cmd
- 915fd9d fix a bug in shell
- 3455c17 fix a bug; allow config default brush client upload speed limit
- 891e11f fix a bug; edittracker cmd add a new replace host mode
- 02f5a0c fix a bug; torrent download will use torrent download url instead of id so it will work in some special sites (like hdcity)
- 4799c01 fix a error-none-checking bug
- fc07fca fix a few bugs
- e7f3931 fix a json unserialization re-using previous map bug
- 4e64dca fix a memory nil reference
- 9d59b99 fix a minor problem on qb 5.0
- 44ba7a3 fix a problem
- 042a439 fix a problem
- 305f2b2 fix a problem
- d68b2b1 fix a problem
- 6d7ba42 fix a problem
- 5ab5890 fix a problem
- 9a07026 fix a problem
- b6a346c fix a problem in 'dynamicseeding' cmd
- 7ba4ea5 fix a problem in 'publish' cmd
- 2be48e2 fix a problem in brush torrents purge policy
- f4ab3cc fix a problem in mktorrent cmd
- f18e7cf fix a problem in qbittorrent client
- d9b70d3 fix a problem in xseed cmd
- adc157e fix a qbittorrent problem
- b8b256e fix a typo caused bug
- d97021d fix a unknown timezone error on some Windows env. add siteProxy config
- 4c65278 fix broken 'iyuu status' cmd
- 3679d15 fix broken build in go <=1.20
- 7707dc3 fix broken error output in shell cmd after introducing alias feature
- 048adfd fix broken m-team site
- ff67d22 fix broken max downloading torrents limit
- be66750 fix broken mteam site
- c875743 fix bug
- 40a4dc7 fix bug when brushing multiple sites
- 331a292 fix bugs
- 5feac7f fix bugs in error handling
- 80d83ad fix bugs in iyuu xseed function
- 01b4a71 fix cjk characters inconsistent width in terminal output
- 8619a48 fix clientctl problems
- c5ad862 fix log missing args
- 0d7cba1 fix minor problem
- 3bde7fd fix problem in iyuu bind function
- aee7dcd fix qb problem that exported torrent from local torrents path is trackerless
- 140964f fix rate limiting problem in iyuu xseed function
- 6d51d48 fix som problem in edittracker cmd
- fe2933d fix some bad style codes
- 42839e5 fix some problem in iyuu xseed
- d37f4e6 fix some problems
- 64caac0 fix some problems; add some flags to few cmds
- 7994795 fix unsupported protocol version 303 when accessing some sites with ja3; improve public sites support
- c39040d fix wrong pointer bug
- e9f8c6a fix:add permissions for github_token
- a906743 fix:brush faild when all sites is skiped
- 83be65c fix:change registry to dockerhub
- 67a953c formalize the full codebase
- 955ad84 implement 'hardlink torrent' cmd
- a2af1b2 implement an ADD command to allow manually add site torrents to client
- f34fd21 implement an advisory lock mechanism which can be used to prevent multiple ptool instances from executing at the same time
- d31c717 implement get user status function for zhuque site
- 02eb13b implement xseed core functions
- 4709754 imporve some cmds; improve help
- 2543730 improve 'movesavepath' cmd
- 7b8f4d3 improve 'parsetorrent' & 'add' cmd;
- 2b46157 improve 'partialdownload' and 'findalone' cmd
- 078971b improve 'publish' and 'maketorrent' cmd
- 625f41f improve 'publish' cmd
- dd4febb improve 'publish' cmd
- b1dba86 improve 'publish' cmd
- dcaa994 improve 'publish' cmd
- 26029b3 improve 'publish' cmd
- 7ebf708 improve --add-category-auto flag handling
- 283c58c improve add / search cmd
- 9ba000a improve add command and some others
- d67a630 improve alias feature
- 5b6d735 improve brush algorithm
- 743778d improve brush algorithm
- d467e78 improve brush space freeing policy
- fe1be9b improve brush stragety. fix wrong unit size calc/display
- a2b489d improve brush torrents purge policy, remove torrents that don't process immediately
- 762039d improve client torrents list print
- 3393e7a improve cookiecloud cmd
- 304a0ae improve custom output format of several cmds
- 48fd2f0 improve download filename handling in np torrent dl
- ff5f810 improve edittorrent cmd
- 22e78c6 improve filename completion in shell, add history persistence to shell
- 56cdeae improve findalone cmd; improve some cmd performance for transmission
- 499bcee improve flags of some cmds
- 6cc5c83 improve global discount timespan detection of nexusphp sites
- 3e16163 improve impersonate feature
- e8a8743 improve iyuu bind args check
- ec1b814 improve markinvalidtracker cmd;
- 3678911 improve nexusphp global discount end time recognition
- 80b395f improve nexusphp isActive parse
- d27befd improve nexusphp parser
- d29c50d improve nexusphp site parsing and others
- 8cfb4fa improve nexusphp site support
- 6d359aa improve nexuusphp parsing (tested on u2)
- 3686156 improve nexuusphp site error handling
- 4b0b002 improve output of some cmds
- 7f5d04b improve paid torrent parsing in nexusphp sites
- 42090c7 improve partialdownload cmd
- f61fb7c improve partialdownload command
- 9fc1d9e improve proxy env parsing
- 52b1ca4 improve qb 5.x support; improve mktorrent cmd
- f91b4a2 improve qbittorrent client control
- 70af05e improve reseed cmd
- 3f2d525 improve reserve disk space handling in batchdl cmd; add more sites
- 53013c2 improve search cmd; update to go 1.22
- 6c506a0 improve several cmds
- f1a519c improve shell history
- d460ace improve show & edittorrent cmd
- 7f73524 improve some codes
- 70a9e3b improve stats; add site timezone support
- 1a4dab3 improve support for hdcity site
- bb51c84 improve support for nexusphp sites
- 2fbb973 improve support for pttime site
- 75555eb improve support for sharkpt site
- 6fcfb13 improve torrent filter flags handling
- 591e9d5 improve torrents / infohash args handle; improve batchdl cmd; add crabpt and ecust site
- 862a575 improve torrents list output style
- 2413937 improve xseeding
- 8205a20 infoHash list args now accept '-' as reading from stdin
- ce3a5f7 integrate 'addlocal' cmd to 'add' cmd
- 52690b3 introduce a new way to detect qb false zero disk space report
- 3a67330 iyuu xseed and some other cmds now skip sites that failed to download torrent too many times
- 170540c make nexusphp support lemonhd
- b6c8f71 make status command be able to show site latest torrents
- b33d4fb minor change
- ac3f716 minor fix
- 30e1c63 minor improvements
- e00e126 minor tweaks
- f5fcb08 minor tweaks
- 8ea6932 minor tweaks
- 545bb9f minor update
- 5384e77 minor update
- 8a5adc8 minor update
- 6b2a798 minor updates
- 943117f mktorrent by default refuse filenames with invalid characters in Windows
- 7dd6c3b nexusphp: add global discount parsing; status cmd show torrent discount end time
- a615bbe no longer use nmap to calc torrent piece hash as it will error on Windows when mapping large file
- 84604b1 np torrents list parser support page with only one torrent (eg. search result page)
- 48dab5c prevent brush task from adding multiple torrents with same content folder name
- 99a9b61 print lifespan average download / upload speed to log when deleting torrents
- 0998041 re-factor anti tls / h2 anti-fingerprinting. update to chrome v120
- ad170b8 re-factor brush torrents deletion algorithm
- 7a245a4 re-factor brush torrents deletion algorithm
- e891c60 re-factor nexusphp torrents list parser to support more sites
- 8363bd5 refactor codes
- 1712dc0 remove gzip header which is not working
- a5ae079 remove unnesserary log
- 31ea3c4 remove unnesserary log
- efb647a rename 'moveclient' cmd to 'transfertorrent'
- 65b1c93 rename ebookgod cmd to batchdl
- 4ea6d59 search treat all args as keyword
- 192aaea set _hr tag to torrent of sites which enforce global HR when adding torrents
- 9521c08 show most significant clients and sites in stats command output
- 128c1c0 small tweaks
- f9f1d26 some minor changes and improvements
- 6601812 some minor tweaks and changes
- 6e40cfb some minor updates
- 617d1f9 some tweaks
- 5d16d97 status cmd support show site meta info
- 815a127 status command now support multiple clients
- 826e4b5 try to fix github action build error
- 36312f6 tweak xseedadd cmd
- 5094afe upate leaves site support
- 146af7f update
- 7e1fac8 update
- 649f2f8 update
- 1f3b470 update
- 247fa96 update
- 20392c4 update
- 11a7109 update
- 6641a6b update
- 11b1a8c update
- 0fce16d update
- 3547521 update
- 21d1ab7 update
- aa015d0 update
- 041264e update
- d69e052 update
- 25c49b0 update
- e4abb22 update
- 0911adb update
- 09eb863 update
- f5390c9 update
- ce92498 update
- 1f7f7cb update
- 563c605 update
- aab0ab3 update
- c87d95d update
- 32a0d64 update
- e085be8 update
- a4f9a06 update
- 9f4d989 update
- 1ed32ee update
- f72931c update
- 4440d24 update
- 55b0d5d update
- 31d38a5 update
- 22ff821 update 'publish' cmd
- ed4e22a update .gitignore
- 4991288 update README
- ccfaf08 update README
- 2ae8bfc update README
- 73eb6dc update README for toml format config file
- 716b855 update README; some minor modifications
- e8c5b47 update brush algorithm
- 68af080 update config parsing
- ba15d8a update default ua to Chrome v119
- ca08de5 update dependencies
- a6ca50b update dependencies
- fa6d794 update docs
- de3ce5d update example config file
- c925d7a update example config file
- d24fadd update go.mod
- ce68c4b update log output
- 5e54a68 update nexusphp parser
- 6f3c19b update pt sites info
- 45761b2 update readme
- ddf7e89 update to go 1.21
- efb26ea update to latest dependencies
- 9ec44d0 update tpl.go
- c93c9bd update typo
- d704e64 update ua to chrome v116
- 90eb799 update ua to chrome v118; tweak free torrent recognization codes for np sites
- 31a80c5 updated to chrome 114 ua
- 54d765b updates
- bb95152 updates
- 42c23a4 upgrade ua to Chrome v117
- 4b10766 use %w instead of %v in fmt.Errorf to wrap error
- 45094bc use a customized fork of transmissionrpc library for now to fix some problems
- 7f1b0f4 use coroutines to re-factor status command
- 553bd9e use go text template to do substitutions of user provided format string
- 4f4e0a9 use gorm to re-factor stats
- 49ad077 use internal forked transmissionrpc to fix some library problems and limitations
- 20380e1 use local go-prompt to workaround a bug; add dynamic completions framework to shell
- 7ceb2aa use shlex to improve shell cmd auto-completion
- 4acaea7 use viper to parse config file; add dynamic suggestions for all commands in shell
- 5444715 v-0.1.1
- 73a6419 v0.1.0
- e008518 v0.1.10
- b3fee5d v0.1.2
- ab92d14 v0.1.3
- 03fdd8b v0.1.4
- 03c9af1 v0.1.5
- 63211d8 v0.1.6
- 32c0fd8 v0.1.7
- eed9bc7 v0.1.8
- 7e5953c verifytorrent cmd now accept multiple torrent args
- 2c0c105 workaround a problem
- e89bab9 workaround for azuretls-client bug
- fc873f8 working for 'publish' cmd
- 9d83601 working for adapt to new iyuu api
- 6959a3c working on iyuu xseed