Support youtube community post individual link#8170
Draft
CCRcmcpe wants to merge 7160 commits intomikf:masterfrom
Draft
Support youtube community post individual link#8170CCRcmcpe wants to merge 7160 commits intomikf:masterfrom
CCRcmcpe wants to merge 7160 commits intomikf:masterfrom
Conversation
- add Jinja options (mikf#1390) - add and use custom 'Module' type - improve 'Path' description
* add new extractor for leakgallery.com
Added support for downloading photo and video posts from leakgallery.com.
Supports:
* Individual post URLs
* User profile URLs with pagination via AJAX
* Optional type/sort filters (e.g. /Photos/MostRecent)
* Proper file extension handling
* Creator-based folder structure
* Compatibility with --download-archive
Tested locally and functional, but may still need review or improvement.
* [leakgallery] add support
Added leakgallery to extractor module imports so it's recognized and used.
* [leakgallery] update extractor structure
- Refactored using LeakGalleryExtractorBase to remove duplication
- Moved init logic into items() using self.groups
- Replaced re with text.re as per upstream guidance
- Added creator fallback and media deduplication
- Aligned structure with gallery-dl maintainer review tips
* [leakgallery] add support
- Added leakgallery entry to supportedsites.md
- Includes post, user, trending, and most-liked subcategories
* add exported extractor results
* [leakgallery] fix flake8 style issues
Cleaned up code to comply with flake8 rules, especially:
- removed unused imports
- split long lines >79 chars
- ensured newline at EOF
No functional changes made; purely formatting to satisfy CI checks.
* [tests] update extractor results
* [leakgallery] fix flake8 style issues (part 2)
Fix remaining flake8 issues in leakgallery.py:
- Reformat line breaks to avoid W503 (line break before binary operator)
- Wrap long lines to respect E501 (line too long > 79 characters)
- Cleaned up exception logging for better clarity
- Confirmed all flake8 checks now pass successfully
This superseedes the previous commit which partially fixed formatting violations.
* [leakgallery] fix flake8 style issues (part 3)
* [leakgallery] rename extractor classes
* [tests] update extractor results
* [tests] rename extractor results
* [leakgallery] rename extractor classes (part 2)
* [leakgallery] rename example
* update docs/supportedsites
* update test results
and convert line endings to '\n'
* update
- convert line endings to '\n'
- use _pagination method
- fix logging calls
* return more metadata for _pagination() results
fixes regression introduced in fc06243
…7874) less metadata by default, but grabs *all* user files
…7848) rename 'profile' extractor to 'photos'
and update some test results
- consider only values smaller than 'lmax' instead of taking the max of all lengths and trimming that - remove 'lmin'
fixes regression introduced in 8252980
fixes regression introduced in 5747dbf
- only posts and creator posts work - 'home' and 'list' extractors do nothing atm - needs 'authorization' header as 'token' config value to access locked content - needs yt-dlp to download 1080p videos
and add 'lists' extractor to collect your account's lists
for filenames containing an apostrophe ' mikf#8150 (comment)
- fix 'list' URLs - allow 'id:…' as creator identifier - simplify API code
- add 'format' option - handle exceptions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Preliminary functionality, downloads individual links with the highest image quality. Opened as draft since it can be improved. The way it's implemented is somewhat brittle, relies on HTML information, but I saw no API as the other way.
cc #3134