36 Commits

Author SHA1 Message Date
mhdzumair ff906378f3 Enhance file annotation UI with episode and season numbering features; Update styles for better layout and visual feedback on file selection. 2025-04-07 16:55:18 +05:30
mhdzumair 3de2027861 Add configurable toggles for torrent metadata and seeders jobs 2025-01-24 23:14:36 +05:30
mhdzumair a13fb30d30 Fix contribution streams via magnet link 2025-01-24 22:52:24 +05:30
mhdzumair db4ea030db skip sample files from torrent file parsing 2025-01-20 19:14:17 +05:30
mhdzumair 32d675b173 Refactor adult content filtering logic to enforce more keywords on stream request 2025-01-17 06:51:09 +05:30
mhdzumair 3945a65ba3 Enhance torrent file processing and validations
Updated the torrent parsing logic to add timestamp conversion, improve file data extraction, and refine metadata validation. Adjusted season and episode parsing for better accuracy in file metadata.
2024-12-30 14:02:59 +05:30
mhdzumair d6b0fe162d Fix torrent metadata key checks to prevent KeyError 2024-12-22 22:38:54 +05:30
mhdzumair 70e8d1946b Add support for private, semi-private, and webseed torrent types for prowlarr & jackett & Manual imports; store torrent file content
- Updated streaming providers to allow adding torrents by file for webseed and private torrents.
- Implemented functionality to store the content of torrent files.
2024-12-22 18:21:58 +05:30
mhdzumair 10a6f2e051 Enhance metadata handling and optimize torrent processing
Added `parsed_data` support for more robust torrent metadata extraction and improved season/episode assignment logic. Refined IMDB integration to handle null ratings and streamline title-year searches. Database index and query filters updated for better flexibility and accuracy.
2024-12-22 00:13:31 +05:30
mhdzumair 27e711ba51 Show the torrent file extraction failure message when manually import torrent 2024-12-20 23:02:51 +05:30
mhdzumair 0ccd59e15c Fix series parse in torrent parsing 2024-12-17 22:48:34 +05:30
mhdzumair 98085b7c06 Add support for request proxy with httpx & aiohttp libs
Replaced custom proxy implementation and `curl-cffi` with unified `httpx` and `aiohttp` proxy support using `requests_proxy_url` config from settings. Simplified and standardized HTTP client instantiations across various modules for improved maintainability and consistency.
2024-12-13 15:55:10 +05:30
mhdzumair bc195e81f6 Add capacity limiter to async demagnetization 2024-12-07 17:51:39 +05:30
mhdzumair 0e633d31d8 Remove caching for contribution user & Add support for parsing torrent seasons, episodes from files & fix language selection on upload contribution streams 2024-12-02 22:30:44 +05:30
mhdzumair c0878dac17 Add adult content filter for torrent titles with parsett & validate episode file with is_video_file 2024-11-21 16:01:15 +05:30
mhdzumair 1057b51e22 Fix file path decoding in torrent utility 2024-11-01 16:22:27 +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 bd43ee4c3f Bugfixes (#272)
* Kodi: handle connection errors in fetch data

* feat: Update scraper URLs and fix streamed.su live sport event

* use only url for cache validation in live stream validation

* Handle debrid service downtime error & tracker fetch error

* handle review
2024-08-29 10:05:39 +05:30
Mohamed Zumair 3ccd1f8a55 Sort & Filter stream languages, quality based on user preference & Reduce userdata size (#250)
* feat: Sort & Filter stream languages, quality based on user preference

* feat: Use field aliases & compress after encrypt user data to reduce the config user data size

* Refactor catalog parsing logic and add CatalogParsePipeline

* Update language handling in stream creation

* update packages

* Update README

* refactor parse torrent streams

* use lru cache for common function

* handle item checking

* address code review

* Update PTT & parse complete language

* cleanup
2024-08-26 22:38:27 +05:30
mhdzumair f19993eb66 Migrate to PTT for parsing torrent titles effectively 2024-07-20 07:15:35 +05:30
mhdzumair eb5a0025f5 move trackers to trackers.json with new list of trackers 2024-06-03 00:52:07 +05:30
mhdzumair 55d9fa4887 add parser for info_hash from magnet 2024-06-02 22:05:33 +05:30
mhdzumair cbe834f654 bugfix: Handle timeout error for init trackers 2024-03-30 23:50:47 +05:30
mhdzumair eef6bc992c Add sport-video scrapy support 2024-03-18 23:10:55 +05:30
mhdzumair 9b2f663516 #127 Add Scrapy and Formula Racing support 2024-02-26 17:02:04 +05:30
mhdzumair 69cfd7fbdd #109 : Add adult content filtering functionality 2024-02-11 11:07:55 +05:30
mhdzumair e68e80e7ee Improve Prowlarr integration and improve database initialization for dramtiq actor 2024-02-07 18:32:34 +05:30
mhdzumair 6d5a35dd71 enhance prowlarr scrapping for movies and series and refactoring helper functions 2024-02-01 19:07:46 +05:30
mhdzumair e3582301ab Update logging level for demagnetize 2024-01-30 13:11:45 +05:30
mhdzumair ac2ab7d218 Add support for scraping series from torrentio 2024-01-30 13:04:35 +05:30
mhdzumair f5189f3038 Add support for scraping movie streams from torrentio 2024-01-25 12:36:57 +05:30
mhdzumair 6538e41053 delete subfolders & torrents in seedr & refactoring 2023-12-30 17:42:21 +05:30
mhdzumair d76efbeda3 fix torrent folder selection for seedr with unsupported characters 2023-10-07 19:23:20 +05:30
mhdzumair 14866569ea Re-design the db structure & code flow for new add-on MediaFusion 2023-10-04 14:04:28 +05:30
mhdzumair 3f3252b7a6 Integrate Seedr & Handle encrypted user configuration & select preferred catalogs & various bug fixes 2023-09-10 02:27:43 +05:30
mhdzumair 906e01a4c4 get info hash from torrent file & fix scrapping script 2023-06-18 10:58:46 +05:30