teppyboy / saucerer

A SauceNAO web scrapper written in Python.
https://tretrauit.gitlab.io/saucerer-docs/
MIT License
2 stars 1 forks source link

Empty results #2

Open rshero opened 1 year ago

rshero commented 1 year ago

A lot of empty stuff for Anime and Manga source etc

would be good if it can detect the type of sauce like AnimeSource, MangaSource, PixivSource, TwitterSource etc. and provide results according to that

teppyboy commented 1 year ago

For empty stuff, can you provide an example? The only sauce I've tested so far is pixiv illustrations.

And for sauce detection, I don't think SauceNAO web ui show them, and if they do it'll be just a little text unlike their API which does more.

rshero commented 1 year ago

For empty stuff, can you provide an example? The only sauce I've tested so far is pixiv illustrations.

And for sauce detection, I don't think SauceNAO web ui show them, and if they do it'll be just a little text unlike their API which does more.

you can use for manga panels like this - https://telegra.ph/file/d2a677fe623e88b915a5a.jpg

and for anime a gif like this - https://telegra.ph/file/213bfae4c02f23a3aefad.mp4 (need to convert into .gif)

and not even saucenao api does sauce detection i just wanted to tell if you could do it in the library

teppyboy commented 1 year ago

you can use for manga panels like this - https://telegra.ph/file/d2a677fe623e88b915a5a.jpg

It does show the result in SauceNAO with the sauce "MangaDex" and "MangaUpdates", I'll try to do that when I'm free but for now you'll have to do something like this:

misc_info = SaucererSync().search("https://telegra.ph/file/d2a677fe623e88b915a5a.jpg").sauces[0].misc_info
is_manga = any([x for x in misc_info if x.provider in ["mangadex", "mangaupdates"]]) # should be true