19 lines
342 B
Python
19 lines
342 B
Python
from python3_anticaptcha import NoCaptchaTaskProxyless
|
|
import asyncio
|
|
import aiohttp
|
|
import time
|
|
|
|
|
|
async def run():
|
|
try:
|
|
result = await /функция асинхронная/
|
|
print(result)
|
|
except Exception as err:
|
|
print(err)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
loop = asyncio.get_event_loop()
|
|
loop.run_until_complete(run())
|
|
loop.close()
|