From 5c3afbcb9fda6f0b5d0dafd2b8ac17a9e19254ca Mon Sep 17 00:00:00 2001 From: Jules-WinnfieldX Date: Tue, 5 Mar 2024 15:52:14 -0700 Subject: [PATCH] add i-milkshake to stripper --- cyberdrop_dl/__init__.py | 2 +- cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index 3e89cc090..b799dc398 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.1.81" \ No newline at end of file +__version__ = "5.1.82" \ No newline at end of file diff --git a/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py b/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py index 370c4d31f..e1c8e6dde 100644 --- a/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py +++ b/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py @@ -167,7 +167,7 @@ async def reinforced_link(self, url: URL) -> URL: async def get_stream_link(self, url: URL) -> URL: """Gets the stream link for a given url""" - cdn_possibilities = r"^(?:(?:(?:media-files|cdn|c|pizza|cdn-burger|cdn-nugget|burger|taquito|pizza|fries|meatballs|milkshake|kebab)[0-9]{0,2})|(?:(?:big-taco-|cdn-pizza|cdn-meatballs|cdn-milkshake|i.kebab|i.fries|i-nugget)[0-9]{0,2}(?:redir)?))\.bunkr?\.[a-z]{2,3}$" + cdn_possibilities = r"^(?:(?:(?:media-files|cdn|c|pizza|cdn-burger|cdn-nugget|burger|taquito|pizza|fries|meatballs|milkshake|kebab)[0-9]{0,2})|(?:(?:big-taco-|cdn-pizza|cdn-meatballs|cdn-milkshake|i.kebab|i.fries|i-nugget|i-milkshake)[0-9]{0,2}(?:redir)?))\.bunkr?\.[a-z]{2,3}$" if not re.match(cdn_possibilities, url.host): return url diff --git a/pyproject.toml b/pyproject.toml index 840289792..f8e6b1f6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.1.81" +version = "5.1.82" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"