nondanee/weiboPicDownloader

Adding feature of pulling image/video from a specific date on

Closed this issue · 8 comments

Hi there,

Thank you so much for maintaining this repository, which is really convenient.
However, it has to download all images for a userID and every time I have to check them one by one to see which one is newly added. Can you please help add one more option, which can download images/videos from a specific date on, and of course if not specified, it download all of them from the beginning.

Thanks again!

Use the -b option, refer to #40

Thanks a lot! That's definitely what I am looking for, but this requires checking the blog every time and check its id, thus timestamp possibly could be more convenient.

Also, could you help clarify on Usage/Optional arguments section, whether id is included or not, that means whether the range is closed [] or open ().

-b boundary mid/bid range of weibos (format: id:id between, :id before, id: after, id certain, : all)

Thanks again!

Because I can only get the post date but not the accurate time, so can not achieve timestamp filtering

if mid < limit[0] or mid > limit[1]: continue

It should be a closed interval []

Thank you so much for your quick response.
I think that should also help. Finding the blog date is much easier than finding the blog id, right?
So I was wondering if this tool can add one more option such as -t, so users can use it like -b option:

  1. -t :20191129, which would download all images in blogs up to 20191129 (interval closed)
  2. -t 20191129:, which would download all images in blogs from 20191129 (interval closed)

I will let -boption support parsing time id like @20191129:@20191205

Thanks, please let me know when it is ready :)

ready now :)

This is exactly what I wanted, and I tested this on my laptop it works great!
Thank you so much!