From 5a81a0c14b76f6b90b2d4224b53948707d867040 Mon Sep 17 00:00:00 2001 From: Spoked Date: Mon, 30 Sep 2024 07:44:26 -0400 Subject: [PATCH] fix: add log back to orion --- src/program/scrapers/orionoid.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/program/scrapers/orionoid.py b/src/program/scrapers/orionoid.py index e49973c4..fbd91118 100644 --- a/src/program/scrapers/orionoid.py +++ b/src/program/scrapers/orionoid.py @@ -153,4 +153,9 @@ def scrape(self, item: MediaItem) -> Dict[str, str]: continue torrents[stream.file.hash] = stream.file.name + if torrents: + logger.log("SCRAPER", f"Found {len(torrents)} streams for {item.log_string}") + else: + logger.log("NOT_FOUND", f"No streams found for {item.log_string}") + return torrents \ No newline at end of file