36 Commits

Author SHA1 Message Date
mhdzumair 3de2027861 Add configurable toggles for torrent metadata and seeders jobs 2025-01-24 23:14:36 +05:30
mhdzumair 5343badfaa Remove unoptimized IMDb and TMDB background tasks.
This commit eliminates unused Dramatiq background tasks and related scheduler jobs for processing and updating IMDb and TMDB data.
2024-12-22 22:50:24 +05:30
mhdzumair 6733432663 Setting up schedulers for Jackett feed and background search 2024-12-22 00:20:28 +05:30
mhdzumair 7df0bdd23f Add Movies/TV TGX spider and scheduling support
Introduced `MoviesTVTgxSpider` for parsing TGx movie/TV torrents and added relevant pipelines for processing. Enhanced scheduler, constants, and configurations to support the new functionality. Made updates to improve torrent detail parsing and handle dynamic content loading using Playwright.
2024-12-14 21:40:45 +05:30
mhdzumair b4422c0c94 Add scheduled task for cleaning up expired debrid cache status 2024-12-13 15:49:51 +05:30
mhdzumair 49cc1b60eb Remove obsolete spiders Streamed and StreamBTW 2024-12-07 18:37:35 +05:30
Mohamed Zumair 52d8956034 Add ScrapeOps monitoring, Add zilean filtered endpoint, Fix Prowlarr scraping with download link & Fix PikPak login error etc (#319)
* Refactor ZileanScraper to use parallel requests for searching and filtering streams with new endpoints

* Fix DLHD scraping & enable DLHD without MediaFlow

* Switch to httpx for async HTTP requests

* Implement caching for PikPak token to reduce login error

* Refactor torrent cleanup logic

* Add inactivity monitor extension to close idle spiders

Introduced `InactivityMonitor` to automatically close spiders that remain inactive for a specified time. This extension checks activity at regular intervals and uses configurable settings for check intervals and inactivity timeouts. If no items are scraped within the timeout period, the spider is closed to free resources.

* Handle TypeError in dynamic sorting of streams

* Refactor torrent info scraper to support pre-processing.

Introduced a pre-processing function mapping to handle specific indexer requirements before parsing the HTML. Added a custom pre-processing function for "TheRARBG" to handle URL adjustments, improving modularity and readability in the `get_torrent_info` function.

* Refine error logging and fix hash key in spider

* Fix Prowlarr not stop on max process limit

* #315: Integrate ScrapeOps logging into all scrapers & spiders

Added ScrapeOps logging to Zilean, Torrentio, Prowlarr, and Prowlarr Feed scrapers to enhance request tracking and error handling. Configured ScrapeOps API key in settings and updated Pipfile/Pipfile.lock with scrapeops-python-requests and scrapeops-scrapy dependencies.

* Refactor scraper cache status handler

* verify torrent before parsing on prowlarr & prioritize magnet on badass_torrents

* Add support for provide locally hosted mediaflow proxy public address and reduce the time leg on private ip address checking

* handle RD exception cases

* do not setup scrapeops when api key is none

* Enhanced dynamic sorting of torrent streams

Revised the dynamic_sort_key function to handle different key types more efficiently with match-case. Simplified error handling and improved logging to capture sorting data in the case of exceptions.

* add missing last update date for metadata

* update domain for nowmesports
2024-10-14 05:58:23 +05:30
Mohamed Zumair 0e7a5126f5 Add centralized config management for spiders & Remove deprecated spiders and update related configurations (#299)
* Add centralized config management for spiders

* Remove deprecated spiders and update related configurations
2024-09-27 21:50:29 +05:30
mhdzumair f5e2b30dfe bugfixes & adding missing libs 2024-09-16 11:01:01 +05:30
Mohamed Zumair cf8ed59012 Added Prowlarr feed scraping & Improve Advanced scraping capability for prowlarr, zilean, torrentio & more bugfixes & improvements (#286)
* 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
2024-09-16 08:26:57 +05:30
mhdzumair b2e6692582 only scrap the first page for tgx daily scheduler params 2024-07-08 21:40:32 +05:30
mhdzumair ad57412761 Added support for Fighting (WWE & UFC) scrapy for TGX 2024-07-08 00:13:58 +05:30
mhdzumair 8e32e2ccaf bugfix variable typo 2024-06-29 05:44:32 +05:30
mhdzumair ba60d58aad Add missing arab-torrents scheduler 2024-06-28 12:00:49 +05:30
mhdzumair f563d49a30 Rebrand scripts of mhdtv to nowmetv 2024-06-09 23:17:12 +05:30
mhdzumair 24d645a730 feat: Refactor TV stream validation and update logic for schedule function 2024-06-03 07:05:11 +05:30
mhdzumair 08218bb5c2 feat: Add support for scrape seeders count from trackers & daily scheduler job to scrape 2024-06-03 00:54:06 +05:30
mhdzumair d8a074aca7 Add MotoGP TGX scheduler and update config settings 2024-05-07 14:04:59 +05:30
mhdzumair 02814c5fda create imdb scraping data functions & schedule job for periodic scraping 2024-05-05 23:59:30 +05:30
mhdzumair 7ff883678b Add DaddyLiveHD scraper and scheduler 2024-04-28 22:47:57 +05:30
mhdzumair 3779efbd6b Implement TaskManager for dramatiq worker to maintain minimum iterval before triggering same scraper task & worker improvments 2024-04-27 17:08:55 +05:30
mhdzumair 6d54702232 implement distributed scheduler locking with heartbeat for cluster 2024-04-25 07:15:18 +05:30
mhdzumair dfac612f03 Add StreamBTW scheduler and scraper control 2024-04-24 09:29:45 +05:30
mhdzumair 07298d3284 bugfix schedulers 2024-04-15 18:53:47 +05:30
mhdzumair b4b91d4b34 bugfix schedulers 2024-04-15 18:49:38 +05:30
mhdzumair e15861689b add scheduler for crictime and scraper control 2024-04-14 22:37:02 +05:30
mhdzumair 119720119e Add scheduler job configuration and enable/disable options & update scheduler 2024-04-13 21:59:40 +05:30
mhdzumair 6baab1dc2a Add MrGamingStreams scrapy for sports events 2024-04-01 16:45:07 +05:30
mhdzumair 945fcb9970 filter sports events by start time & added to scraper 2024-03-29 21:51:22 +05:30
mhdzumair a0486cd642 Add streamed sport events scrapy support 2024-03-28 22:57:14 +05:30
mhdzumair eef6bc992c Add sport-video scrapy support 2024-03-18 23:10:55 +05:30
mhdzumair f04d537ee2 Add tamilultra scrapy & add support for trigger scrapers & consolidate apscheduler, background worker & bugfixes 2024-03-17 17:41:03 +05:30
mhdzumair aa80143677 Seperate mhdtvsports scraper to schedule different crontab 2024-03-11 00:07:37 +05:30
mhdzumair 2c85b1078e Add support for configuring scheduler crontabs 2024-03-10 23:43:40 +05:30
mhdzumair f723c1df34 Add formula_tgx scraper to docker-compose scheduler 2024-02-27 00:55:51 +05:30
mhdzumair 19322bd228 ** Prepare v3.7.1
** Add docker compose deployment & doc
** Add mongo atlas doc
2024-02-17 22:52:57 +05:30