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 |
+-------+--------------------+--------------------+---------+
(回到頂部)