jurassicplayer / NekoLoliBot

0 stars 0 forks source link

Booru Function #5

Closed jurassicplayer closed 9 years ago

jurassicplayer commented 9 years ago

Grab an image from a supported booru.

-Probably use a list of boorus (danbooru, safebooru, konachan, yande.re) -Source flag? -Search tags -Extended search tags (aka make enormous database based on first two search tags, and then search through it with more search tags to bypass 2 tag limit) -Size flag -Random flag -Rating (SFW, Questionable, ...HUEHUEHUE as if I would add Explicit) -Maybe print out a line of image info

jurassicplayer commented 9 years ago

Booru function added allowing for listed boorus. Search tags and extended search tags are supported. Currently only searches through the first 5 pages of results and picks out an image from the list. Sizes are supported and will toggle on a size restriction where only images equal or larger than the size asked for. Rating tag dropped for semi-obvious reasons...and even with the rating at safe, it's not exactly safe.

Could REALLY use a url shortener like bit.ly Still need to add pulling a random image. Could add loli cannon command (.loli_cannon [time interval]min [traits]).

jurassicplayer commented 9 years ago

Added pulling a random image. Loli cannon idea dropped because I don't want to deal with multiprocessing atm. Url shortener split to a separate plugin so I'll need to revisit the booru plugin after completing it.

jurassicplayer commented 9 years ago

Added !nsfwbooru at the whims of #ctss which returns a range of images from safe to explicit rating. Url shortener also added, so all current issues are closed. Possibly take a second look at the plugin and remake it to be better.

jurassicplayer commented 9 years ago

Revamped how arguments are taken, cleaned a little, and re-added an unfinished feature that I'd didn't remember to push before (returns character names).