├── Clean-Torrent-GUI-V1.0.exe ├── LICENSE ├── README.md └── config.sample.json /Clean-Torrent-GUI-V1.0.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrow505/Clean-Torrent-GUI/3ce2718b8ba3304b770a51aff74f2a4cf987a966/Clean-Torrent-GUI-V1.0.exe -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 tomorrow505 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Clean-Torrent-GUI 2 | 3 | 顾名思义,清洗种子,多数情况下,内站并不需要,但是外站很多都需要重新制作种子,一来二去,浪费时间。该软件配合脚本实用更佳。 4 | 5 | 不同站点有不同要求,下面贴一个使用模板: 6 | 7 | ```json 8 | { 9 | "HDT": { 10 | "announce": "http://hdts-announce.ru/announce.php", 11 | "source": "blank", 12 | "creation date": 600, 13 | "comment": "blank" 14 | }, 15 | 16 | "PTP": { 17 | "announce": "", 18 | "source": "delete", 19 | "creation date": 600, 20 | "comment": "delete" 21 | }, 22 | 23 | "MTV": { 24 | "announce": "", 25 | "source": "delete", 26 | "creation date": 600, 27 | "rename": "yes", 28 | "comment": "delete" 29 | }, 30 | 31 | "SC": { 32 | "announce": "", 33 | "source": "delete", 34 | "creation date": 600, 35 | "comment": "delete" 36 | }, 37 | 38 | "BTN": { 39 | "announce": "", 40 | "source": "delete", 41 | "creation date": 600, 42 | "comment": "delete" 43 | }, 44 | 45 | "KG": { 46 | "announce": "", 47 | "source": "delete", 48 | "creation date": 600, 49 | "comment": "delete" 50 | }, 51 | 52 | "PURIST": {} 53 | } 54 | ``` 55 | 56 | **注意:模板使用json格式,如果不是很了解,谷歌之。其中"PURIST": {}请不用理会,会默认生成一个announce为空的种子,可以用于发内站,实在不需要可以删掉。** 57 | 58 | 接下来说明上述字段的含义: 59 | 60 | + announce: 不用多说了,就是tracker要填的东西 61 | 62 | + source: 可填写任意字符串,如: "PTP",或者设置为"blank"表示为空,或者"delete",直接删除该字段 63 | 64 | + comment: 可填写任意字符串,如: "PTP",或者设置为"blank"表示为空,或者"delete",直接删除该字段 65 | 66 | + creation date: 每个种子都有制作时间,我们不希望跟源种子制作时间一样,所以在此基础上加指定秒数,600表示10分钟,然后会有一个random时间区分开 67 | 68 | + rename: 我们发现皮的种子不按P2P命名法则,而MTV会根据种子上传名称进行auto-fill。有必要按照种子内容重新命名~ 69 | 70 | ### 使用步骤 71 | 72 | 1. 下载exe文件和config.example.json文件并且重命名为config.json文件,记事本打开修改模板。需要符合json规范以及上述字段进行填写。 73 | 74 | 2. 运行exe程序,会自动根据模板生成存放种子的文件夹,界面为一个表格。两种洗白方案: 75 | 76 | + 如果不进行行的选取,拖拽种子进入表格,会针对所有模板进行洗白。 77 | + 如果选择了特定行再进行拖拽,则会对指定行的模板进行洗白。 78 | 79 | 使用:洗白后的文件目录存放路径则会在表格中进行显示,双击则打开种子所在目录,拖拽到上传页面指定上传按钮处松开即上传种子成功。 80 | 81 | **说明:可以一次性拖入多个种子,但是界面会保留最后一个完成的路径,双击打开会显示拖入的种子都已经完成。** 82 | 83 | ### 放个界面图 84 | 85 | ![123.png](https://www.z4a.net/images/2022/04/19/123.png) 86 | 87 | ### 更新20220423 V2.0 88 | 因为内站转外站很多时候mediainfo就变成自定义的短的了,然后需要找到视频进行mediainfo的获取;或者需要原图、缩略图。所以写了imgbox和ptpimg两个图床。 89 | 需要配置imghost.json,如果你使用了代理,替换成自己的端口,如果想使用ptpimg,填上自己的api-key。 90 | 91 | ### 总结 92 | --- 93 | 94 | 折腾不易,且行且珍惜。 95 | -------------------------------------------------------------------------------- /config.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "HDT": { 3 | "announce": "http://hdts-announce.ru/announce.php", 4 | "source": "blank", 5 | "creation date": 600, 6 | "comment": "blank" 7 | }, 8 | 9 | "PTP": { 10 | "announce": "", 11 | "source": "PTP", 12 | "creation date": 600, 13 | "comment": "delete" 14 | }, 15 | 16 | "MTV": { 17 | "announce": "", 18 | "source": "MTV", 19 | "creation date": 600, 20 | "rename": "yes", 21 | "comment": "delete" 22 | }, 23 | 24 | "SC": { 25 | "announce": "", 26 | "source": "SC", 27 | "creation date": 600, 28 | "comment": "delete" 29 | }, 30 | 31 | "BTN": { 32 | "announce": "", 33 | "source": "BTN", 34 | "creation date": 600, 35 | "comment": "BTN" 36 | }, 37 | 38 | "KG": { 39 | "announce": "", 40 | "source": "KG", 41 | "creation date": 600, 42 | "comment": "delete" 43 | }, 44 | 45 | "PURIST": {} 46 | } 47 | --------------------------------------------------------------------------------