Skip to content
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

[motherless] Initial support #6221

Closed
wants to merge 3 commits into from
Closed

Conversation

smackingpotato
Copy link

This adds support for motherless.com, for

  • individual images and videos
  • just the images from a gallery
  • just the videos from a gallery
  • all images and video together from a gallery

Also adds keywords for filenames, extracting metadata from pages. See -K output.

@smackingpotato
Copy link
Author

Force pushing to change commit messages

Copy link

@shelvacu shelvacu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this PR should include tests, see https://github.com/mikf/gallery-dl/tree/master/test/results

I'm not anywhere near an expert on gallery-dl, so please feel free to tell me I'm wrong and do it anyways. Keeping that in mind, I hope this is helpful.

gallery_dl/extractor/motherless.py Outdated Show resolved Hide resolved
gallery_dl/extractor/motherless.py Show resolved Hide resolved
gallery_dl/extractor/motherless.py Outdated Show resolved Hide resolved
gallery_dl/extractor/motherless.py Outdated Show resolved Hide resolved
gallery_dl/extractor/motherless.py Show resolved Hide resolved
gallery_dl/extractor/motherless.py Show resolved Hide resolved
gallery_dl/extractor/motherless.py Show resolved Hide resolved
gallery_dl/extractor/motherless.py Show resolved Hide resolved
gallery_dl/extractor/motherless.py Outdated Show resolved Hide resolved
gallery_dl/extractor/motherless.py Outdated Show resolved Hide resolved
- Add support for single images and videos
- Tidy metadata extractors
- Add gallery downloaders
- Add support details
- Update media count extractors
@smackingpotato
Copy link
Author

I've started work on the tests. This will include a few more tweaks to get the naming conventions to pass

mikf added a commit that referenced this pull request Nov 22, 2024
@mikf
Copy link
Owner

mikf commented Nov 22, 2024

So I went ahead and wrote some code myself: b78c35f

I took some inspiration from the code in this PR, but there were just too many overall issues to "fix" it, so writing the code myself was the better option I thought. A proper code review would have taken even more time, so I skipped that as well ... sorry.

@mikf mikf closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants