mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
cf8ed59012
* Update Python version * Refactor Redis client * WIP: Refactor scrapers * Added Prowlarr feed scraping & Improve Advanced scraping capability for prowlarr, zilean, torrentio & more bugfixes & improvements * Improve batch_process_with_circuit_breaker implementation to yield an individual task as soon as completed
20 lines
380 B
Python
20 lines
380 B
Python
import asyncio
|
|
|
|
from db import database
|
|
|
|
from utils import torrent
|
|
|
|
# import background actors
|
|
# noqa: F401
|
|
from mediafusion_scrapy import task
|
|
from scrapers import tv, imdb_data, trackers, helpers, prowlarr, prowlarr_feed
|
|
from utils import validation_helper
|
|
|
|
|
|
async def async_setup():
|
|
await torrent.init_best_trackers()
|
|
await database.init()
|
|
|
|
|
|
asyncio.run(async_setup())
|