Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to prevent download if sponsorblock entry not found #9953

Open
9 tasks done
ConorShore opened this issue May 18, 2024 · 1 comment
Open
9 tasks done

Add options to prevent download if sponsorblock entry not found #9953

ConorShore opened this issue May 18, 2024 · 1 comment
Labels
enhancement New feature or request incomplete Further information is needed

Comments

@ConorShore
Copy link

ConorShore commented May 18, 2024

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Provide a description that is worded well enough to be understood

Hi,

A great feature to add would be the ability to prevent a download if sponsorblock info is not found. In my setup, I check a channels a few times a day ( and don’t download videos younger than a day old) and the sponsor block info isn’t updated in time.

Given at the moment it seems sponsorblock is checked after download, if the sponsorblock check finds nothing it could delete the file. This obviously isn’t the most efficient so the check could come before the download. Not familiar with the codebase so don’t know how hard this would be.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

N/A

No response

@ConorShore ConorShore added enhancement New feature or request triage Untriaged issue labels May 18, 2024
@pukkandan
Copy link
Member

pukkandan commented May 18, 2024

I believe it can already be done with --match-filter. Pls provide some examples I can test commands on

@pukkandan pukkandan added incomplete Further information is needed and removed triage Untriaged issue labels May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request incomplete Further information is needed
Projects
None yet
Development

No branches or pull requests

2 participants