Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Point everything at .sk
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Mar 6, 2024
1 parent 891da99 commit 4e3794c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ async def album(self, scrape_item: ScrapeItem) -> None:
@error_handling_wrapper
async def video(self, scrape_item: ScrapeItem) -> None:
"""Scrapes a video"""
scrape_item.url = self.primary_base_domain.with_path(scrape_item.url.path)
if await self.check_complete_from_referer(scrape_item):
return

Expand Down Expand Up @@ -133,6 +134,8 @@ async def video(self, scrape_item: ScrapeItem) -> None:
@error_handling_wrapper
async def other(self, scrape_item: ScrapeItem) -> None:
"""Scrapes an image/other file"""
scrape_item.url = self.primary_base_domain.with_path(scrape_item.url.path)

if await self.check_complete_from_referer(scrape_item):
return

Expand Down

0 comments on commit 4e3794c

Please sign in to comment.