Skip to main content

Tools for weebs

Project description

weebtools

A tool mostly for downloading anime related stuff.

Installation

pip install weebtools

Usage

weebtools uses subcommands to split functionality. Each subcommand has their own arguments and options.

CLI

utils

  • Used mostly for miscellaneous helper functions
  • Be sure to add $HOME/bin to your environment $PATH veriable

Print help

python -m weebtools utils --help

Prints current google chrome version

python -m weebtools utils --getChromeVersion

Prints current chrome driver version, looking in $HOME/bin

python -m weebtools utils --getChromeDriverVersion

Downloads latest chrome driver for your google chrome version

python -m weebtools utils --downloadChromeDriver

img

  • Manage and download images to $HOME/Downloads/images

Print help

python -m weebtools img --help

Downloading images

python -m weebtools img <piclink> [some_option(s)]

Images are downloaded to $HOME/Downloads/images

File system structure:

$HOME/Downloads/images
|
└───artist1
|    |
|    └───png
|    |   |
|    │   └── *.png
|    |
|    └───jpg
|    |   |
|    │   └── *.jpg
|    │
|    └───source
|        |
|        └── info.json
|
└───artist2
|    |
|    └───png
|    |   |
|    │   └── *.png
|    |
|    └───jpg
|    |   |
|    │   └── *.jpg
|    │   
|    └───source
|        |
|        └── info.json
|...

Sites and url format supported:

As a module

>>> from weebtools.utils import *
>>> getChromeVersion()
'103.0.5060.114'
>>> getChromeDriverVersion()
'103.0.5060.53'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weebtools-0.1.2.tar.gz (45.2 kB view hashes)

Uploaded Source

Built Distribution

weebtools-0.1.2-py3-none-any.whl (33.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page