Feature request: Exclude "shorts" respectively short videos not longer than x minutes/seconds
BennyAckermann opened this issue · comments
Do you know the situation that some of your favorite channels started adding those "soul-destroying" shorts and you have to waste so many mouse clicks to selectively delete those one by one by hand?
Would be great if you could subscribe to a channel or playlist and exclude fetching "shorts" or even better videos that are shorter than a number of seconds of your choosing.
The creator of this script is generally against adding too many config options, to make it not confusing for new users. But I would like this feature, too: Most of them aren't even new content, just clips of already existing content, but now in a shittier aspect ratio. I think a good solution would be to hide/collapse most of the settings columns initially, that will be kept when people copy the sheet.
Was just about to suggest the same, the spam is getting out of hand.
I came here to suggest this feature, I'm glad I'm not the only one.
I've updated the sheet and code to have a new column to remove shorts from being added. It's not the best solution and will remove any videos less than 1 minute as well. Please make a copy of the sheet again and try it out! Let me know if you encounter any issues.
I've updated the sheet and code to have a new column to remove shorts from being added. It's not the best solution and will remove any videos less than 1 minute as well. Please make a copy of the sheet again and try it out! Let me know if you encounter any issues.
Yes, thank you very much for that!
The core functionality works: Grabs all videos, filters shorts and throws them away before importing.
I am grateful and happy about that ^_^
But I found a bug with the new Google Sheets file though:
On the Debug page, the Logs
in column C do not update automatically anymore.
Field C3
shows #NAME?
and the tooltip reads
Error
Unknown function: 'getLogs'.
Just clicking onto the drop-down menu in B3
on the first newest date (that is already selected) does not help but if you choose a different older date, then the function getLogs
is found, gets re-triggered and runs.
After that you can choose the newest date again and the function also works with the newest date.
But if you open the sheet for the first time or reload the whole page, you run into the error state above with unknown function.
In the older sheet that never happened and the sheet always initializes the newest log with the newest date automatically.
Hm, not sure about the exact cause, but played around with it; does it work now?
Hm, not sure about the exact cause, but played around with it; does it work now?
No, the described behavior is still present in the Google document.
Do you have this problematic behavior? You just wrote that you "played with it" but not if you can reproduce the behavior on your end.
I encountered a similar problem because I deleted the DebugData sheet and manually deleted everything below the 2nd row in the Debug sheet. It was causing the script to error out without doing anything tho, not just stop displaying logs like you're seeing. I had to re-copy the original sheet to fix my problem.
It's not about a missing DebugData sheet here with me. I made a fresh copy of the newest script and filled in everything by hand again.
But good news, it must have been a "Google thing" because it now works again. When I load the page from a link, bookmark or resume the errors propagate automatically again.
Maybe Google made changes behind the curtains and rolled those out gradually and now they reached my account too.