Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

And there we go... again! #5

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

And there we go... again! #5

wants to merge 6 commits into from

Conversation

ruj
Copy link
Contributor

@ruj ruj commented Sep 9, 2020

I don't know if this is an upgrade or a downgrade, very confusing.
I removed the parseResponse, now it seems that some things have improved in the api. What used to be text/plain now seems to be all content json, what a relief.

We still need to complement with the "new" final route, I just want to see this it soon. OMEGALUL

@ruj
Copy link
Contributor Author

ruj commented Sep 10, 2020

I put it back in place, it seems that not everything is roses.

@ruj ruj mentioned this pull request Sep 10, 2020
lib/WaifuPics.js Outdated
Comment on lines 49 to 51
WaifuPics[type][category] = () => request('GET', endpoint)
WaifuPics.many[type][category] = (exclude) => request('POST', '/many' + endpoint, { body: JSON.stringify({ exclude }) })
})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the best so far, maybe it will improve further.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if exclude images is effective, I tried to eliminate a large scale of images to see where we were going but it seems to be large enough to always return others

@samueldurantes samueldurantes added the enhancement New feature or request label Jan 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants