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

[aryion] Add favorite extractor #5870

Merged
merged 1 commit into from
Jul 21, 2024
Merged

[aryion] Add favorite extractor #5870

merged 1 commit into from
Jul 21, 2024

Conversation

walkenjoyer
Copy link
Contributor

Fixes #4511

I tried my best without a lot of python experience, I hope this is good enough to close the issue.

The path keyword won't match the path in the favorite gallery, but the original path in the artists gallery. I'm not sure of what the best solution would be, but I'm not too bothered by it right now

@walkenjoyer walkenjoyer changed the title [aryion] Add favorite extractor (#4511) [aryion] Add favorite extractor Jul 20, 2024
class AryionFavoriteExtractor(AryionExtractor):
"""Extractor for a user's favorites gallery"""
subcategory = "favorite"
categorytransfer = True
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this correct here? I copied it from the gallery extractor, but I don't understand what it does.

Copy link
Owner

Choose a reason for hiding this comment

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

This makes it so that child extractors use the same settings as their parent by default (extractor.category-transfer). Not really necessary here I think, but it probably won't hurt to have this enabled just in case.

@mikf mikf merged commit 19e98ef into mikf:master Jul 21, 2024
0 of 9 checks passed
@mikf
Copy link
Owner

mikf commented Jul 21, 2024

Thank you.

@walkenjoyer walkenjoyer deleted the aryion-favs branch July 27, 2024 14:19
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.

[aryion] Issue: Unable to download favorites gallery
2 participants