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

[skeb]when both have works and sentworks, how to download only sentworks? #6558

Open
maplestory03 opened this issue Nov 30, 2024 · 1 comment

Comments

@maplestory03
Copy link

maplestory03 commented Nov 30, 2024

1、how to download only sentworks
2、both download
how to distinguish between a work or a send(different filename and directory)

(1)sentworks->  directory:  ./sentworks      filename:{post_id}_{creator['screen_name']}_{post_num}_{num}.{extension}
(2)works->         directory:  ./works             filename:{post_id}_{post_num}_{num}.{extension}

3、There is a parameter that may not necessarily exist. When it exists, add it and add a new one_

e.g.   client['screen_name']  anonymous works will not exist
if has no client['screen_name']    :  {post_id}_{post_num}_{num}.{extension}
if has client['screen_name']         :  {post_id}_{client['screen_name']}_{post_num}_{num}.{extension}
{post_id}_{client['screen_name']:?//}_{post_num}_{num}.{extension}can do 
but always have two_ when no client['screen_name'] between {post_id} and {post_num}
@maplestory03
Copy link
Author

maplestory03 commented Nov 30, 2024

1、There are currently two methods available
first set conf "sent-requests":true
(1)config "image-filter":"'xxx'==client['screen_name']"
It must be a definite value in config
(2)powershell -o image-filter="'$lastValue'==client['screen_name']"
define variables ,if archiving is also a variable in conf and this must also use -o archive=./client_sqlite/$lastValue.sqlite3

Are there other more convenient methods to set in conf?
This filtering condition is based on the entire content. If the user is also the author, the efficiency will be relatively low

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants