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