Comments (12)
As part of this I'll probably incorporate fetch_client
to increase browser compatibility, do you have any requests for API changes for stable 1.0.0 release?
from nhentai_dart.
Allowing us to search / filter by language and author would also be great!
While we're here, I've also noticed that search responds with API Exception: does not exist
whenever you search for some terms (such as furry, baka and dragon ball)
from nhentai_dart.
You can already do that.
const tag = nh.Tag(
id: 0,
type: nh.TagType.language,
name: 'english',
count: 0,
url: '',
);
final q = '${const nh.SearchQueryTag(tag)}';
final res = await api.search(q).first;
But I admit, it's not so nice with this approach, I'll address it.
As for terms, that is a known API limitation, see Zekfad/nhentai-api#19 for more info.
I might add search via site and HTML parsing, but that's out of the scope of this package, I still can do it as a separate package I think.
from nhentai_dart.
Both of those would be great! Thank you a ton!
from nhentai_dart.
@WeebNetsu I've pushed changes to master, you can use dependency override to point your pubspec to git.
nhentai:
git:
url: https://github.com/Zekfad/nhentai_dart
ref: master
from nhentai_dart.
Thank you my friend! :)
from nhentai_dart.
Is there by any chance a way to do a search, but then to exclude specific tags from the search?
from nhentai_dart.
Sure, just add minus before tag search query. Check info page on site, there is syntax help. Also check tags example on master branch.
from nhentai_dart.
Ahh, yes, you are correct, thank you!
from nhentai_dart.
Can we potentially hide or include specific books based on a query search? Such as hide/filter out 177013 and 544301 on a query search? Like how we can do with tags?
from nhentai_dart.
Use stream methods, e.g. where. I don't think there's a way to refine query to exclude particular books.
from nhentai_dart.
Ahh, damn, I see :')
from nhentai_dart.
Related Issues (10)
- web: redirects HOT 2
- Feature Request: Get popular and new books HOT 2
- add tags search autocompletion
- make API an interface with implementation
- Get multiple specific books at a time HOT 2
- SearchSort.popular causes does not exist error HOT 1
- Unhandled exception while parsing response.
- ... HOT 3
- 403 (Forbidden) error on data request HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nhentai_dart.