Hanya sesuatu yang saya buat untuk bersenang-senang
Sederhananya, suatu malam saya merasa bosan dan mengadakan proyek ini untuk menghabiskan waktu.
(kembali ke atas)
Saya tidak yakin apakah hal seperti ini akan diterima di pypi, jadi saya hanya menghostingnya di sini di github untuk saat ini. Petunjuk pemasangan cepat
Miliki saja python versi modern. ^3.9 seharusnya baik-baik saja. Jika Anda ingin dukungan untuk 3.7 atau 3.8, buka saja terbitannya. Saya hanya perlu mengubah beberapa item pengetikan dan mengimpornya agar dapat berfungsi.
Ubuntu 22.04
apt-get install python3 python3-pip
Arch/Manjaro (Saya lebih menyukai Arch)
sudo pacman -S python python-pip
Anda dapat mengkloning repo atau menginstal dari Rilis.
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 .
(kembali ke atas)
Partai memiliki 4 perintah dasar
pesta
kemono: Download from kemono
coomer: Download from coomer
update: Checks for and downloads new posts
search: Find creators based on username or id
Kemono dan Coomer
Perincian dasar dari opsi-opsi
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.
Contoh
Unduh sesuatu dari kemono
party kemono patreon diives
Unduh sesuatu dari coomer
party coomer onlyfans belledelphine
Unduh dari coomer, kecualikan gambar, dan batasi hingga 2 unduhan
party coomer fansly forgottenlovechild -e jpg -e jpeg -e png -w 2
Pihak akan memeriksa file yang ada pada saat mendownload, sehingga arsip yang tidak lengkap dapat dilengkapi dengan kemono/coomer atau dengan update.
party update diives
Pencarian mendukung semua pilihan kemono dan coomer take, misalnya -e, -w, -d, -l
Cari pengguna
party search belk
Cari pengguna dan pilih hasil secara interaktif
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
Pencarian yang lebih spesifik
party search --site coomer --service fansly forgotten -w 3 -e jpg
+-------+--------------------+--------------------+---------+
| Index | Name | ID | Service |
+-------+--------------------+--------------------+---------+
| 0 | forgottenlovechild | 434514358358253568 | fansly |
+-------+--------------------+--------------------+---------+
(kembali ke atas)