import asyncio
import sys
import os
sys.path.append(os.getcwd())
from app.downloaders.series_sites.fs7 import FS7Downloader

async def test_search():
    dl = FS7Downloader()
    print("Testing FS7 Search...")
    results = await dl.search_anime("Breaking Bad")
    for r in results:
        print(f"Title: {r['title']}")
        print(f"Image: {r['cover_image']}")
        print("-" * 20)

if __name__ == "__main__":
    asyncio.run(test_search())
