Coder Social home page Coder Social logo

rainyroads / pysaucenao Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 7.0 65 KB

PySauceNao is an unofficial asynchronous library for the SauceNao API. It supports lookups via URL or from the local filesystem.

License: GNU General Public License v3.0

Python 100.00%
anime anime-search anime-fans python36

pysaucenao's Issues

Unknown status code: 4

Apparently there are still positive status codes that are returned on successful results that we don't have documented yet. Following up with SauceNao developer.

SyntaxError: 'await' outside function

When I run the code

from pysaucenao import SauceNao, PixivSource
sauce = SauceNao()
results = await sauce.from_url('https://i.imgur.com/oVPWy7f.png')

I get the error of , I made sure to install pysaucenao along with aiohttp just in case and I keep getting this weird message. Sorry if it's obvious fix or mentioned the solution elsewhere

SyntaxError: 'await' outside function

Anime sources should be prioritized when meeting a minimum similarity threshold

People on Deviantart and so on like to post gifs from their favorite anime's, which SauceNao picks up and indexes.

The problem with this is, it can lead to these reposts being prioritized over the actual anime sources, which we don't want happening.

Example:
https://twitter.com/saucenaopls/status/1274274631042678786

A filter should be added to make sure anime sources are displayed first when they meet a minimum similarity threshold (of let's say 80 or so)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.