File size: 347 Bytes
589e773 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import asyncio
import sys
sys.path.insert(0, '..')
from api.routes.anime import jimaku as subs
async def test_open_subs():
results = await subs._fetch_opensubtitles(None, 1, 'dub', 'Naruto')
print('count', len(results))
for t in results[:5]:
print(t)
if __name__ == '__main__':
asyncio.run(test_open_subs())
|