Sólo algo que preparé por diversión.
En pocas palabras, una noche me aburrí y armé este proyecto para pasar el tiempo.
(volver arriba)
No estoy seguro de si algo como esto sería bienvenido en pypi, así que por ahora lo alojaré aquí en github. Instrucciones de instalación rápida
Solo tenga una versión moderna de Python. ^3.9 debería estar bien. Si desea soporte para 3.7 o 3.8, simplemente abra un problema. Solo necesito cambiar algunos elementos de escritura e importarlos para que funcionen.
ubuntu 22.04
apt-get install python3 python3-pip
Arch/Manjaro (soy más un tipo Arch)
sudo pacman -S python python-pip
Puede clonar el repositorio o instalarlo desde Versiones.
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 .
(volver arriba)
El grupo tiene 4 comandos básicos.
grupo <comando>
kemono: Download from kemono
coomer: Download from coomer
update: Checks for and downloads new posts
search: Find creators based on username or id
Kemono y Coomer
Un desglose básico de las opciones.
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.
Ejemplos
Descargar algo de kemono
party kemono patreon diives
Descargar algo de coomer
party coomer onlyfans belledelphine
Descargue desde coomer, excluya imágenes y limite a 2 descargas
party coomer fansly forgottenlovechild -e jpg -e jpeg -e png -w 2
Party comprobará los archivos existentes durante la descarga, por lo que los archivos incompletos se pueden completar con kemono/coomer o con update.
party update diives
La búsqueda admite todas las opciones de kemono y coomer, por ejemplo, -e, -w, -d, -l
Buscar un usuario
party search belk
Busque un usuario y seleccione resultados de forma interactiva
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
Una búsqueda más específica
party search --site coomer --service fansly forgotten -w 3 -e jpg
+-------+--------------------+--------------------+---------+
| Index | Name | ID | Service |
+-------+--------------------+--------------------+---------+
| 0 | forgottenlovechild | 434514358358253568 | fansly |
+-------+--------------------+--------------------+---------+
(volver arriba)