Juste quelque chose que j'ai créé pour m'amuser
En termes simples, je me suis ennuyé une nuit et j'ai lancé ce projet pour passer le temps.
(retour en haut)
Je ne sais pas si quelque chose comme ça serait le bienvenu sur pypi, donc je l'héberge ici sur github pour le moment. Instructions d'installation rapide
Ayez simplement une version moderne de Python. ^3.9 devrait convenir. Si vous souhaitez prendre en charge la version 3.7 ou 3.8, ouvrez simplement un problème. J'ai juste besoin de modifier certains éléments de saisie et d'importation pour que ceux-ci fonctionnent.
Ubuntu 22.04
apt-get install python3 python3-pip
Arch/Manjaro (je suis plutôt un gars d'Arch)
sudo pacman -S python python-pip
Vous pouvez soit cloner le dépôt, soit l'installer à partir des versions.
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 .
(retour en haut)
Party a 4 commandes de base
groupe <commande>
kemono: Download from kemono
coomer: Download from coomer
update: Checks for and downloads new posts
search: Find creators based on username or id
Kemono et Coomer
Une ventilation de base des options
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.
Exemples
Téléchargez quelque chose depuis kemono
party kemono patreon diives
Téléchargez quelque chose depuis Coomer
party coomer onlyfans belledelphine
Téléchargez depuis Coomer, excluez les images et limitez-vous à 2 téléchargements
party coomer fansly forgottenlovechild -e jpg -e jpeg -e png -w 2
Party vérifiera les fichiers existants lors du téléchargement, afin que les archives incomplètes puissent être complétées avec kemono/coomer ou avec une mise à jour.
party update diives
La recherche prend en charge toutes les options prises par kemono et coomer, par exemple -e, -w, -d, -l
Rechercher un utilisateur
party search belk
Rechercher un utilisateur et sélectionner les résultats de manière interactive
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
Une recherche plus spécifique
party search --site coomer --service fansly forgotten -w 3 -e jpg
+-------+--------------------+--------------------+---------+
| Index | Name | ID | Service |
+-------+--------------------+--------------------+---------+
| 0 | forgottenlovechild | 434514358358253568 | fansly |
+-------+--------------------+--------------------+---------+
(retour en haut)