Open
Conversation
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
* [vk] Added extractor for VK wall posts
* update
- fix flake8
- rename to 'wall-post'
- remove __init__() / use self.groups
- simplify 'description' extraction
* add test
* add to docs/supportedsites
---------
Co-authored-by: Mike Fährmann <[email protected]>
… when possible / allowed by VK - album[name] - album[count] - user[name] - user[nick] - user[group]
fixes superfluous newlines in --version output
to be SPDX compliant and prevent a 'twine' warning
test for 'dt:…' to catch NullDatetime instances, which inherit from 'datetime.datetime' but are not exactly this class
- use 'datetime.fromisoformat()' when possible (mikf#7671) - return a datetime-compatible object for invalid datetimes (instead of a 'str' value)
remove unnecessary 'util' imports
using None for 'fromlist' is slightly faster than an empty tuple
* Add configuration setting to control newline characters in metadata. * update docs/configuration * introduce 'open()' method * add 'newline' test
add 'format' option
Author
|
The only thing I’m not sure about is whether there are any other places where I should update or add documentation I added the option to |
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.
I added a new
--max-downloadscommand line option to limit the number of files downloaded per jobI wanted to make it easier to stop downloads early without writing an external script or interrupting it manually, and I mainly used it for testing new extractors and previewing the first few files from various sources
The default behavior is unchanged when the option is omitted, and I tested it locally to make sure download halts cleanly after reaching the limit
(this is also my first open source contribution, feedback is very welcome!)