Closed ToniOfQ closed 2 years ago
I can make a video on that but do they have some kind of API for this? Like for fetching these details
They do have an API, but it's paid
I see, then I will make a web scraping video, to do it for free :D
ok, thanks
no worrries, thanks a lot for the suggestion.
I will start on the video after I am done with the video I am currently working on ( Timeout in slash commands )
Close the issue now
I am thinking to close after actually making a video, else I might forget about this
Ok
looks like they are using protection, so that we can't send get requests to their pages via axios and similar things, I will try adding human like headers and some more stuff
I got a new idea about the pokemon list command, if the pokemons exceed 1024 characters the bot will have to add buttons to the message, if you can also show the pokemon icons next to their names it would be great
looks like they are using protection, so that we can't send get requests to their pages via axios and similar things, I will try adding human like headers and some more stuff
I also had that issue. But when i try to fetch the site from RunKit, it worked.
const axios = require("axios")
const a = async () => {
await axios.get("https://mywaifulist.moe/waifu/kirisaki-chitoge").then((res) => {
return console.log(res)
}).catch((err) => {
return console.log(err)
})
}
a()
I didn't run prettier xD
@ToniOfQ I think when we send request from a different ip or maybe by adding some extra headers it might work. I will try to add some dummy headers for testing soon.
I got a new idea about the pokemon list command, if the pokemons exceed 1024 characters the bot will have to add buttons to the message, if you can also show the pokemon icons next to their names it would be great
So can you try to add this? @KartikeSingh
Ok thanks. Btw i've started to learn js (my first programming language) a week ago.
Ok thanks. Btw i've started to learn js (my first programming language) a week ago.
wow that's cool, Well I do have a series on JavaScript but I will suggest you to just watch the first episode well some learning material:
Also a suggestion, when you learn something try to do different things with that code instead of moving on to the next thing. example let's say you learned how to use for loop to print numbers, then try to print Square of numbers and like different stuff, if you do that you won't forget the syntax and stuff.
Also you can join my discord, it is a bit easier to chat there :D
Ok thanks. Btw i've started to learn js (my first programming language) a week ago.
wow that's cool, Well I do have a series on JavaScript but I will suggest you to just watch the first episode well some learning material:
Also a suggestion, when you learn something try to do different things with that code instead of moving on to the next thing. example let's say you learned how to use for loop to print numbers, then try to print Square of numbers and like different stuff, if you do that you won't forget the syntax and stuff.
Also you can join my discord, it is a bit easier to chat there :D
thanks
I got a new idea about the pokemon list command, if the pokemons exceed 1024 characters the bot will have to add buttons to the message, if you can also show the pokemon icons next to their names it would be great
@rufy545 there you go https://www.youtube.com/watch?v=uGIl0eETaWU
Is it done @KartikeSingh?
@ToniOfQ you mean the waifu command? well we can use https://www.npmjs.com/package/puppeteer for this but it will eat lot of ram
Yes, but are you making it?
sure, I will!
thank you bro
no worries, thanks you for your patience
Can you please add a command for sending random waifu from MyWaifuList (https://mywaifulist.moe/random) with full details? Example: Name - Original Name - Romaji Name - Appears in - Place of Origin - Age - Date of Birth - Height - Weight - Blood Type - Waist - Bust - Hip - Popularity - Like - Trash - Description -