Skip to content

Bulk asynchronous downloader for multiple file hosts

refactor: support direct URLs (GoFile)

NTFSvolumea2ce44f92d16
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7240f670f..54ee0f0af 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,12 @@ All notable changes to this project will be documented here. For more details, v
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## UNRELEASED
+
+### Added
+
+- Support premium URLs (direct links)(GoFile)
+
## [10.8.0] - 2026-09-06
### Added
diff --git a/cyberdrop_dl/crawlers/gofile.py b/cyberdrop_dl/crawlers/gofile.py
index e1fbd9e83..031964b13 100644
--- a/cyberdrop_dl/crawlers/gofile.py
+++ b/cyberdrop_dl/crawlers/gofile.py
@@ -53,9 +53,11 @@ class GoFileCrawler(Crawler):
async def fetch(self, scrape_item: ScrapeItem) -> None:
match scrape_item.url.parts[1:]:
case ["d", content_id]:
- return await self.folder(scrape_item, content_id)
+ await self.folder(scrape_item, content_id)
+ case ["download", "direct", file_id, _]:
+ await self.direct_file(scrape_item)
case ["download", "web", file_id, _] | ["download", file_id, _]:
- return await self.single_file(scrape_item, file_id)
+ await self.single_file(scrape_item, file_id)
case _:
raise ValueError