Skip to content

Streamline fetching and managing images from websites, using Eagle Wrapper for seamless integration with Eagle image management software.

Notifications You must be signed in to change notification settings

NatLee/yande-and-konachan-to-eagle

Repository files navigation

Yande and Konachan to Eagle with Tags

EN | TW

image

Introduction

This repo is an example of image scraping and tag management using Eagle and Eagle-Wapper with Python.

The execution involves obtaining image URLs and tags from specified websites (yande.re or konachan.com), and then pushing them to Eagle for storage.

Usage

At first, you need to create a map by copying ./map.example.yaml to ./map.yaml.

You can modify the map with your own tags which will be parsed from the name.

Notice that the tags in the map are not all tags in the sites, please add more tags by yourself.

Then, install the required packages, including the necessary eaglewrapper:

pip install -r requirements

Next, run main.py using Python:

python main.py

You can use arguments to specify the configuration file location, mapping file, and specific website. For more details, use python main.py --help to view:

usage: main.py [-h] [--config_path CONFIG_PATH] [--yaml_path YAML_PATH] [--target {yande,konachan}]

Yande and Konachan to Eagle

optional arguments:
  -h, --help            show this help message and exit
  --config_path CONFIG_PATH
                        Path to the config file
  --yaml_path YAML_PATH
                        Path to the YAML file
  --target {yande,konachan}
                        Target site for image crawling

Example

The result is shown as below.

It includes name, tags and URL of the image in the source.

Contributor

Nat Lee
Nat Lee

About

Streamline fetching and managing images from websites, using Eagle Wrapper for seamless integration with Eagle image management software.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages