Skip to content

Commit

Permalink
Remove EasyDebrid shady debrid service
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdzumair committed Nov 29, 2024
1 parent ae2ff1b commit e23a7f0
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 180 deletions.
1 change: 0 additions & 1 deletion db/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Settings(BaseSettings):
"premiumize",
"qbittorrent",
"stremthru",
"easydebrid",
]
] = Field(default_factory=list)

Expand Down
1 change: 0 additions & 1 deletion db/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ class StreamingProvider(BaseModel):
"premiumize",
"qbittorrent",
"stremthru",
"easydebrid",
] = Field(alias="sv")
url: HttpUrl | None = Field(default=None, alias="u")
token: str | None = Field(default=None, alias="tk")
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ These settings define the basic configuration and identity of your MediaFusion i
- **is_public_instance** (default: `False`): Set to `True` for community instances that do not require authentication to access the data but protect the `/scraper` endpoint and uploading live TV data endpoints.

## Streaming Provider Settings
- **disabled_providers** (default: `[]`): A list of disabled streaming providers. The providers in this list will not be scraped. e.g. `'["p2p", "pikpak", "easydebrid"]'`
- **disabled_providers** (default: `[]`): A list of disabled streaming providers. The providers in this list will not be scraped. e.g. `'["p2p", "pikpak"]'`

## Database and Cache Settings

Expand Down
1 change: 0 additions & 1 deletion metrics/redis_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ async def get_debrid_cache_metrics() -> Dict[str, Any]:
"realdebrid",
"seedr",
"torbox",
"easydebrid",
]

try:
Expand Down
5 changes: 0 additions & 5 deletions resources/html/configure.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ <h4 class="section-header">Streaming Provider Configuration</h4>
"label": "AllDebrid",
"type": "Premium"
},
{
"value": "easydebrid",
"label": "EasyDebrid",
"type": "Premium"
},
{
"value": "qbittorrent",
"label": "qBittorrent - WebDav",
Expand Down
1 change: 0 additions & 1 deletion resources/html/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ <h4 class="mt-4">🎬 Streaming Provider Integration</h4>
<li>🔗 Debrid-Link (Premium)</li>
<li>✨ Premiumize (Premium)</li>
<li>🏠 AllDebrid (Premium)</li>
<li>📦 EasyDebrid (Premium)</li>
<li>🔒 qBittorrent - WebDav (Free/Premium)</li>
</ul>

Expand Down
1 change: 0 additions & 1 deletion resources/js/config_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const providerSignupLinks = {
debridlink: 'https://debrid-link.com/id/kHgZs',
alldebrid: 'https://alldebrid.com/?uid=3ndha&lang=en',
torbox: 'https://torbox.app/subscription?referral=339b923e-fb23-40e7-8031-4af39c212e3c',
easydebrid: 'https://paradise-cloud.com/products/easydebrid',
premiumize: 'https://www.premiumize.me',
qbittorrent: 'https://github.com/mhdzumair/MediaFusion/tree/main/streaming_providers/qbittorrent#qbittorrent-webdav-setup-options-with-mediafusion',
stremthru: 'https://github.com/MunifTanjim/stremthru?tab=readme-ov-file#configuration',
Expand Down
Empty file.
71 changes: 0 additions & 71 deletions streaming_providers/easydebrid/client.py

This file was deleted.

89 changes: 0 additions & 89 deletions streaming_providers/easydebrid/utils.py

This file was deleted.

8 changes: 0 additions & 8 deletions streaming_providers/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@
get_video_url_from_stremthru,
validate_stremthru_credentials,
)
from streaming_providers.easydebrid.utils import (
update_easydebrid_cache_status,
get_video_url_from_easydebrid,
validate_easydebrid_credentials,
)

# Define provider-specific cache update functions
CACHE_UPDATE_FUNCTIONS = {
Expand All @@ -86,7 +81,6 @@
"premiumize": update_pm_cache_status,
"qbittorrent": update_qbittorrent_cache_status,
"stremthru": update_st_cache_status,
"easydebrid": update_easydebrid_cache_status,
}

# Define provider-specific downloaded info hashes fetch functions
Expand Down Expand Up @@ -129,7 +123,6 @@
"seedr": get_video_url_from_seedr,
"torbox": get_video_url_from_torbox,
"stremthru": get_video_url_from_stremthru,
"easydebrid": get_video_url_from_easydebrid,
}


Expand All @@ -144,5 +137,4 @@
"seedr": validate_seedr_credentials,
"torbox": validate_torbox_credentials,
"stremthru": validate_stremthru_credentials,
"easydebrid": validate_easydebrid_credentials,
}
1 change: 0 additions & 1 deletion utils/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@
"seedr": "SDR",
"torbox": "TRB",
"stremthru": "ST",
"easydebrid": "ED",
}

CERTIFICATION_MAPPING = {
Expand Down

0 comments on commit e23a7f0

Please sign in to comment.