kingwingfly / fav

Back up your favorite bilibili resources with CLI.
https://crates.io/crates/fav_core
MIT License
71 stars 1 forks source link

[Bug] Broken collections support #89

Open Silicon7921 opened 3 days ago

Silicon7921 commented 3 days ago

Describe the bug "fav status -a" command shows collections that is subscribed, BUT ALSO those have been unsubscribed.

To Reproduce

  1. subscribe a collection on bilibili and find its ID in the webpage URL, like "collectiondetail?sid=2800646". write it down.
  2. perform "fav status -a", notice that the ID appears in the command output as expected.
  3. unsubscribe the collection subscribed before.
  4. perform "fav status -a" again. that ID don't disappear (it should disappear, since I have unsubed it) .

Expected behavior Any ID of unsubscribed collections don't appear in the output of "status -a"

Screenshots

屏幕截图 2024-06-28 180054 any unsubscribed collections are marked. the "count" is completely wrong. I dont have so many collections sub.

Information (please complete the following information): Windows 11 build 22621 fav version 0.2.29 (latest)

Additional context If this is a BUG, that means "collection support" cannot handle unsubscribed collections and still display them. By the way, how can I track a collection? or it have not been realized?

kingwingfly commented 2 days ago

I will add the --prune flag to fetch like what git fetch does once I'm available.