party
v0.7.6: Pull size limit flag
只是我为了好玩而拼凑起来的东西
简单来说,有一天晚上我觉得无聊,就把这个项目放在一起来打发时间。
(回到顶部)
我不确定 pypi 是否会欢迎这样的东西,所以我现在只是将其托管在 github 上。快速安装说明
只要有一个现代版本的 python 就可以了。 ^3.9 应该没问题。如果您想要 3.7 或 3.8 的支持,只需打开一个问题。我只需要更改一些打字项目和导入即可使其正常工作。
乌班图22.04
apt-get install python3 python3-pip
Arch/Manjaro(我更喜欢Arch)
sudo pacman -S python python-pip
您可以克隆存储库或从版本安装。
pip install https://github.com/darkdragn/party/releases/download/v0.7.6/party-0.7.6-py3-none-any.whl
git clone https://github.com/darkdragn/party.git
cd party
pip install .
(回到顶部)
队伍有 4 个基本命令
派对<命令>
kemono: Download from kemono
coomer: Download from coomer
update: Checks for and downloads new posts
search: Find creators based on username or id
科莫诺和库默
选项的基本细分
Usage: party kemono [OPTIONS] SERVICE USER_ID
Quick download command for kemono.party
Arguments:
SERVICE Specify the service to pull from ; Ex(patreon,fanbox,onlyfans)
[required]
USER_ID User id from the url or name from search [required]
Options:
--site TEXT [default: https://kemono.party]
--files / --no-files [default: files]
--exclude-external / --no-exclude-external
[default: exclude-external]
-l, --limit INTEGER Number of posts to parse. Starts from newest
to oldest.
--post-id / --no-post-id Sets file_format to
{ref.post_id}_{ref.filename}, mutually
exclusive with post_title, ordered short and
file_format
-e, --exclude-extension TEXT File extension to exclude
-w, --workers INTEGER Number of open download connections
[default: 4]
--name TEXT If you provided an id in the argument, you
can provide a name here to skip user db
pull/search.
-d, --directory TEXT Specify an output directory
--post-title / --no-post-title Sets file_format to
{ref.post_title}_{ref.filename}, mutually
exclusive with post_id, ordered_short and
file_format [default: no-post-title]
--ordered-short / --no-ordered-short
Sets file_format to {ref.post_id}_{ref.index
:03}.{ref.extension}, mutually exclusive
with post_id, post_title and file_format
[default: no-ordered-short]
--file-format TEXT Used to set the output file format. Mutually
exclusive with post_id, post_title and
ordered short. For custom options, see
post.py for schema fields. For example,
{ref.post_id}_{ref.index:03}_{ref.filename}
would accomplish combining post_id and
ordering the files based on appearance in
the post while keeping the original filename
and extension [default: {ref.filename}]
--help Show this message and exit.
示例
从 kemono 下载一些东西
party kemono patreon diives
从 coomer 下载一些东西
party coomer onlyfans belledelphine
从coomer下载,排除图片,限制下载2次
party coomer fansly forgottenlovechild -e jpg -e jpeg -e png -w 2
聚会将在下载时检查现有文件,因此可以使用 kemono/coomer 或更新来完成不完整的存档。
party update diives
搜索支持 kemono 和 coomer 采用的所有选项,例如 -e、-w、-d、-l
搜索用户
party search belk
交互式搜索用户并选择结果
party search belk -i
+-------+------------------+--------------------+---------+
| Index | Name | ID | Service |
+-------+------------------+--------------------+---------+
| 0 | Belkos Fanbox | 877689163103764480 | discord |
| 1 | belkadog | 7025886 | patreon |
| 2 | Belksasar3DPrint | 37766530 | patreon |
| 3 | Belko | 39123643 | fanbox |
+-------+------------------+--------------------+---------+
Index selection: : 3
Downloading Belko using default options...
Downloading from user: Belko
0% | | 1/909 [00: 00< 11:57
更具体的搜索
party search --site coomer --service fansly forgotten -w 3 -e jpg
+-------+--------------------+--------------------+---------+
| Index | Name | ID | Service |
+-------+--------------------+--------------------+---------+
| 0 | forgottenlovechild | 434514358358253568 | fansly |
+-------+--------------------+--------------------+---------+
(回到顶部)