bitbybyte / fantiadl

Download posts and media from Fantia
MIT License
299 stars 51 forks source link

Filter paid fanclubs from timeline if -p is provided #130

Open xWTF opened 2 months ago

xWTF commented 2 months ago

Motivation

Some creators post low-res images on free tier, which will be downloaded when using -n flag (I'm using this to fetch new posts automatically) and mess up the library.

Being able to filter out non-paid posts when downloading from timeline addresses the above issue.

Implementation

Added a check to append free_plan=not_free when -p is specified with -n. Since in the original implementation -n won't have any effect when -p specified, this should not change any intended behavior.

Behavior changes:

bitbybyte commented 1 month ago

Since in the original implementation -n won't have any effect when -p specified, this should not change any intended behavior.

I think it's fine for this PR if no behavior changes, but it'd probably be nice to do this eventually.