Skip to content

[motherless] Add group support #7787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 14, 2025
Merged

[motherless] Add group support #7787

merged 6 commits into from
Jul 14, 2025

Conversation

NecRaul
Copy link
Contributor

@NecRaul NecRaul commented Jul 7, 2025

Fixes #7774

Additions & Fixes

  • Added MotherlessGroupExtractor to support /g/, /gi/, and /gv/ URLs.

  • Moved _pagination, _extract_data, and _parse_thumb_data methods from MotherlessGalleryExtractor to MotherlessExtractor for reuse in both galleries and groups.

  • Extended _extract_media to handle group metadata.

  • Fixed thumbnail and group metadata being lost after calling _extract_media and file.update(data).

  • Updated unit tests with working group/gallery URLs and replaced obsolete/dead ones.

  • Replaced URL regex \w+ with [^/]+ to match valid filenames containing dashes in unit tests.

  • Updated docs to list "Groups" as a supported Motherless content type.

Known Issue

  • _extract_gallery_title and _extract_group_title may return incorrect titles. As far as I can tell, this isn't a regression — the issue existed before this PR — and I’m currently unsure how to best fix it without dropping caching or changing the key strategy.

@mikf mikf merged commit 089f815 into mikf:master Jul 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[motherless] Add support for downloading from groups
2 participants