From e525ff24b11c0aef3a23ccb4da232275f9077a9f Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:45:45 +0000 Subject: [PATCH] lint --- Makefile | 2 +- vk_url_scraper/scraper.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7af2781..22c00a0 100644 --- a/Makefile +++ b/Makefile @@ -13,4 +13,4 @@ run-checks : black . flake8 . mypy . - CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ vk_url_scraper/ + CUDA_VISIBLE_DEVICES='' pytest -v --color=yes . diff --git a/vk_url_scraper/scraper.py b/vk_url_scraper/scraper.py index 5360e6a..9e00b45 100644 --- a/vk_url_scraper/scraper.py +++ b/vk_url_scraper/scraper.py @@ -339,7 +339,9 @@ class VkScraper: filename = os.path.join(destination, f"{r['id']}_{i}.%(ext)s") ydl = yt_dlp.YoutubeDL( { - "format": "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best", + "format": ( + "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" + ), "merge_output_format": "mp4", "retries": 5, "noplaylist": True,