saulodias / Zeca

Zeca is a Discord bot for the Portuguese Learning and Discussion server.
GNU General Public License v3.0
1 stars 0 forks source link

Migrate dicinformal.py from requests to aiohttp #1

Open saulodias opened 6 years ago

saulodias commented 6 years ago

Currently the module dicinformal uses the module requests (for http requests), which is not recommended for web applications because of its blocking nature. The module aiohttp is preferable to requests because it works with asyncio to make asynchronous http requests.

vccortez commented 6 years ago

I'm gonna take a look into that.

Update: So, considering we are only making one request, I think this update can be postponed for now.