Skip to content

Bulk asynchronous downloader for multiple file hosts

Merge branch 'master' into fix_db_album_id

NTFSvolumee7be78462d09
diff --cc CHANGELOG.md
index f35cae720,e4a116c9f..0b95ded61
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -5,15 -5,16 +5,26 @@@ All notable changes to this project wil
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]
+
+This update introduces the following changes:
+1. Fixes album_id not been saved to database
+
+#### Details:
+
+- Fixes album_id property not being save to database on supported crawlers
+
+ ## [5.6.50] - 2024-10-07
+
+ This update introduces the following changes:
+ 1. Support for password protected GoFile links
+
+ #### Details:
+
+ 1. Users can include the password as a query parameter in the input URL, adding `?password=<URL_PASSWORD>` to it.
+ Example: https://gofile.io/d/xUprGg?password=1234
+
++
## [5.6.43] - 2024-10-03
This update introduces the following changes:
diff --cc cyberdrop_dl/scraper/crawlers/gofile_crawler.py
index a283f32f7,47d94e260..ca4da70b8
--- a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
@@@ -46,9 -47,10 +47,13 @@@ class GoFileCrawler(Crawler)
async def album(self, scrape_item: ScrapeItem) -> None:
"""Scrapes an album"""
content_id = scrape_item.url.name
+ scrape_item.album_id = content_id
+ scrape_item.part_of_album = True
+
+ password = scrape_item.url.query.get("password","")
+ if password:
+ password = sha256(password.encode()).hexdigest()
+
try:
async with self.request_limiter:
JSON_Resp = await self.client.get_json(self.domain,