From ba8a4cf95229dbb15d84ef1bbb27c46f471116be Mon Sep 17 00:00:00 2001 From: Jules-WinnfieldX Date: Tue, 5 Mar 2024 15:50:19 -0700 Subject: [PATCH] Fix bunkr reinforced links --- 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 a5042113b..3e89cc090 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.1.79" \ No newline at end of file +__version__ = "5.1.81" \ 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 0448acefa..370c4d31f 100644 --- a/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py +++ b/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py @@ -158,7 +158,7 @@ async def reinforced_link(self, url: URL) -> URL: async with self.request_limiter: soup = await self.client.get_BS4(self.domain, url) - link_container = soup.select("a[class*=bg-blue-500]")[-1] + link_container = soup.select('a[download*=""]')[-1] link = URL(link_container.get('href')) return link diff --git a/pyproject.toml b/pyproject.toml index f74e02b82..840289792 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.1.79" +version = "5.1.81" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"