corpnewt / CorpBot.py

A very clumsy python bot for discord
MIT License
195 stars 94 forks source link

Attempt to fix iARK command #126

Closed kernel-dev closed 2 years ago

kernel-dev commented 2 years ago

Previously, the iARK command was broken due to Intel shutting down their official developer API.

Recently, there's been an announcement that Intel is publishing a new API, but sadly, for now, this is closed out and only available to whitelisted users/API keys.

For the time being, the implementation here is that we scrape the intel ARK site with the provided search term.

There are a few things that are bugged out/acting strangely. For example, in Pooter's codebase, this query will fail: intel core i5 8400 (possibly due to aiohttp), whilst in a playground environment that uses requests—it will not.

With that, everything else seems to be working, the following data will be displayed to the user, if available: