Skip to content
Discussion options

You must be logged in to vote

You're right, and I need to correct my earlier answer: OpenSnitch's Go toolchain does support non-capturing groups such as (?:...). My claim that the daemon rejects them was wrong—sorry about that. Your working rule is consistent with both OpenSnitch v1.8.0 and Go 1.23/1.24.

Your last idea is also the one-rule solution: uncheck “From this executable”, keep “From this command line” checked, and make the Python launcher/path prefix optional. For the forms described here, this is a compact version:

^(?:(?:/usr/bin/)?python[0-9.]* +)?(?:/usr/bin/)?yt-dlp +--no-windows-filenames +--embed-chapters(?: +--cookies-from-browser +firefox)? +-P +/path/to/download +-o +%\(title\)s\.%\(ext\)s +.+$

That…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@UnconnectedBedna
Comment options

Answer selected by UnconnectedBedna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants