add photos_of (tagged photos) to facebook extractor#8461
Open
jab416171 wants to merge 7398 commits intomikf:masterfrom
Open
add photos_of (tagged photos) to facebook extractor#8461jab416171 wants to merge 7398 commits intomikf:masterfrom
jab416171 wants to merge 7398 commits intomikf:masterfrom
Conversation
- 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 <mike_faehrmann@web.de>
… 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
stop when receiving more than 3 empty responses in a row
reorder 'photo' and 'set' extractors
forward query parameters mikf#8061 (comment)
and rename 'pagination-search' to 'search-pagination'
rename 'format' option to 'formats'
use an additional API request to '/v1/account/media' to fetch remaining media files not included in the initial API response
- 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
{
"extractor": {
"fandom": {
"filename": "..."
}
}
}
rework config handling in general
* fix realbooru tags for video posts
* fix lines too long
* combine 'tags' and 'tags_<category>' extraction
- extract tag categories independent of 'tags' option
* add 'video' & 'animated GIF' tests
---------
Co-authored-by: Mike Fährmann <mike_faehrmann@web.de>
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.
This may not be the best way to do this, but I can confirm it's working.
I had to remove memcache from _extract_profile since tagged photos use a different set_id (t. vs pb.)
Fixes #8460