tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Feature Request: Auto Skip Downloading Shorts

Open zpz5HAU-tgc3fgw2xwr opened this issue 3 years ago • 5 comments

Could we get an option added to allow auto skipping downloading any shorts? I know on the YouTube website all the shorts have a special icon, so there might be a flag on the video that YouTube-DL can detect. If there's not, YouTube shorts also have a 60second maximum duration, so you could auto filter videos with a duration of 60 seconds or less.

zpz5HAU-tgc3fgw2xwr avatar Oct 26 '22 15:10 zpz5HAU-tgc3fgw2xwr

Yep, a sensible request. Should be relatively easy to implement.

meeb avatar Oct 28 '22 11:10 meeb

If it would be more helpful in the long run, rather than a single checkbox for shorts, adding a more generalized filters section would be useful. Things like...

  • title includes/excludes a string
  • duration longer/shorter than number
    • 60 secs is the max for shorts, so if there's no short flag to create a checkbox a user could just put 60 seconds here
    • some channels release short form advertisements or other videos that could be skipped by tweaking this duration

zpz5HAU-tgc3fgw2xwr avatar Oct 29 '22 16:10 zpz5HAU-tgc3fgw2xwr

Yep, I believe keyword filtering and more verbose time limit filters are already discussed on another wishlist ticket.

meeb avatar Oct 30 '22 08:10 meeb

with the command line yt-dl I have used this to prevent "short videos"

--match-filter 'duration > 300'

alneven avatar Feb 18 '23 21:02 alneven

Thanks, @alneven - this would be implemented in tubesync though along with the other match code and an opt-in flag (some crazy people might actually want shorts to download!).

meeb avatar Feb 18 '23 23:02 meeb

@meeb I think we can close this issue now as we now have length filtering

timwhite avatar Jul 21 '24 02:07 timwhite

Yep! I would agree. @zpz5HAU-tgc3fgw2xwr you can thank @timwhite for writing the code for this after a year :)

meeb avatar Jul 21 '24 20:07 meeb

thank you, I appreciate it

alneven avatar Aug 05 '24 08:08 alneven