mirror of
https://github.com/bellingcat/vk-url-scraper.git
synced 2026-06-08 03:18:37 +03:00
lint
This commit is contained in:
2
Makefile
2
Makefile
@@ -13,4 +13,4 @@ run-checks :
|
|||||||
black .
|
black .
|
||||||
flake8 .
|
flake8 .
|
||||||
mypy .
|
mypy .
|
||||||
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ vk_url_scraper/
|
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes .
|
||||||
|
|||||||
@@ -339,7 +339,9 @@ class VkScraper:
|
|||||||
filename = os.path.join(destination, f"{r['id']}_{i}.%(ext)s")
|
filename = os.path.join(destination, f"{r['id']}_{i}.%(ext)s")
|
||||||
ydl = yt_dlp.YoutubeDL(
|
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",
|
"merge_output_format": "mp4",
|
||||||
"retries": 5,
|
"retries": 5,
|
||||||
"noplaylist": True,
|
"noplaylist": True,
|
||||||
|
|||||||
Reference in New Issue
Block a user