(self,url,payload)
| 105 | print('#' * 50) |
| 106 | |
| 107 | async def get(self,url,payload): |
| 108 | async with aiohttp.ClientSession() as session: |
| 109 | async with session.get(url,params=payload) as resp: |
| 110 | print(resp.status) |
| 111 | print(resp.url) |
| 112 | result = await resp.text() |
| 113 | return result |
| 114 | |
| 115 | async def request(self,keyword_obj): |
| 116 | keyword = keyword_obj.get('keyword') |
no outgoing calls
no test coverage detected