1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Logged response from DA, as it appears the second go around it errors out

This commit is contained in:
Phxntxm 2016-11-12 18:38:34 -06:00
parent fcc3f8eb1b
commit 4c1d29efba

View file

@ -75,6 +75,7 @@ class Deviantart:
params['username'] = da_name
async with self.session.get(self.base_url, headers=self.headers, params=params) as response:
data = await response.json()
log.info("DA responded with {}".format(data))
result = data['results'][0]
cache[da_name] = result