mirror of
https://github.com/Glitchy-Sheep/boosty-downloader.git
synced 2026-10-14 21:33:23 +00:00
[PR #219] [MERGED] refactor(api): keep media ids and post metadata #217
Labels
No labels
api-drift
bug
ci
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Glitchy-Sheep/boosty-downloader#217
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Glitchy-Sheep/boosty-downloader/pull/219
Author: @Glitchy-Sheep
Created: 10/3/2026
Status: ✅ Merged
Merged: 10/3/2026
Merged by: @Glitchy-Sheep
Base:
main← Head:feat/keep-media-ids-and-post-details📝 Commits (2)
d376364refactor(api): keep media ids and chunk details from the API85b5743refactor(api): keep tags, teaser, counters and prices of a post📊 Changes
26 files changed (+382 additions, -54 deletions)
View changed files
📝
boosty_downloader/application/mappers/audio.py(+3 -0)📝
boosty_downloader/application/mappers/file.py(+1 -0)📝
boosty_downloader/application/mappers/image.py(+3 -0)📝
boosty_downloader/application/mappers/ok_boosty_video.py(+2 -0)📝
boosty_downloader/application/mappers/post_mapper.py(+34 -6)📝
boosty_downloader/domain/post.py(+25 -1)📝
boosty_downloader/domain/post_data_chunks.py(+14 -0)📝
boosty_downloader/infrastructure/boosty_api/models/base.py(+14 -1)📝
boosty_downloader/infrastructure/boosty_api/models/post/post.py(+33 -3)📝
boosty_downloader/infrastructure/boosty_api/models/post/post_data_types/post_data_audio.py(+3 -0)📝
boosty_downloader/infrastructure/boosty_api/models/post/post_data_types/post_data_file.py(+1 -0)📝
boosty_downloader/infrastructure/boosty_api/models/post/post_data_types/post_data_image.py(+1 -0)📝
boosty_downloader/infrastructure/boosty_api/models/post/post_data_types/post_data_ok_video.py(+2 -0)➕
boosty_downloader/infrastructure/boosty_api/models/post/post_overview.py(+28 -0)📝
boosty_downloader/infrastructure/boosty_api/models/post/subscription_level.py(+6 -11)📝
test/support/synthetic_post.py(+66 -8)📝
test/unit/blog_overview/blog_overview_test.py(+2 -2)➕
test/unit/boosty_api/post_overview_fields_test.py(+46 -0)📝
test/unit/download_plan/download_plan_test.py(+7 -1)📝
test/unit/mappers/post_mapper_test.py(+7 -1)...and 6 more files
📄 Description
📝 Summary
Keep media identities and post metadata from the Boosty API in the domain model. This prepares the data needed by v5 stored post records and library cards.
🔧 What changes
🧪 Tests
task ci: Ruff, formatting, Pyright, import boundaries, all 364 unit/e2e tests and wheel/sdist build passed.Authorization required.⏭️ Next
Add blog metadata retrieval, then build stored post records and reconciliation from these fields.
✅ Checklist
--helpand README if neededdocs/if the download flow or dev process changed## Unreleasedin CHANGELOG.md (or theci/skip-changeloglabel if not user-facing)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.