mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-07 19:08:30 +03:00
github format
This commit is contained in:
@@ -4,7 +4,7 @@ repos:
|
||||
rev: v0.9.10
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [ --fix ]
|
||||
args: [ --fix, --output-format=github]
|
||||
- id: ruff-format
|
||||
|
||||
|
||||
|
||||
@@ -398,7 +398,7 @@ class GenericExtractor(Extractor):
|
||||
|
||||
ydl_options = [
|
||||
"-o",
|
||||
os.path.join(self.tmp_dir, f"%(id)s.%(ext)s"),
|
||||
os.path.join(self.tmp_dir, "%(id)s.%(ext)s"),
|
||||
"--quiet",
|
||||
"--no-playlist" if not self.allow_playlist else "--yes-playlist",
|
||||
"--write-subs" if self.subtitles else "--no-write-subs",
|
||||
|
||||
Reference in New Issue
Block a user