machine vklogin +48601210XXXpassword MOJEHASŁOmachine facebooklogin +48601210XXXpassword MOJEHASŁO
[vk] This video is only available for registered users. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (vk) to provide account credentials
yt-dlp https://vk.com/video567158048_456248610 --netrc[vk] Downloading login page[vk] Logging in[vk] 567158048_456248610: Downloading JSON metadataERROR: [vk] This video is only available for registered users. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (vk) to provide account credentials
yt-dlp -Uv -u MÓJLOGIN -p MOJEHASŁO https://vk.com/video567158048_456248610[debug] Command-line config: ['-Uv', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://vk.com/video567158048_456248610'][debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8[debug] yt-dlp version 2022.05.18 [b14d52355][debug] Python version 3.10.5 (CPython 64bit) - Linux-5.17.15-1-MANJARO-x86_64-with-glibc2.35[debug] Checking exe version: ffprobe -bsfs[debug] Checking exe version: ffmpeg -bsfs[debug] exe versions: ffmpeg 5.0 (setts), ffprobe 5.0, rtmpdump 2.4[debug] Optional libraries: Cryptodome-3.12.0, certifi-2021.10.08, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3[debug] Proxy map: {}Latest version: 2022.06.22.1, Current version: 2022.05.18ERROR: It looks like you installed yt-dlp with a package manager, pip or setup.py; Use that to update[vk] Downloading login page[vk] Logging in[debug] [vk] Extracting URL: https://vk.com/video567158048_456248610[vk] 567158048_456248610: Downloading JSON metadataERROR: [vk] This video is only available for registered users. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (vk) to provide account credentials File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 642, in extract ie_result = self._real_extract(url) File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/vk.py", line 328, in _real_extract payload = self._download_payload('al_video', video_id, data) File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/vk.py", line 60, in _download_payload self.raise_login_required() File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 1140, in raise_login_required raise ExtractorError(msg, expected=True)
yt-dlp -f 22 url filmu
Z youtube pobiera bez logowania ale z Facebooka i VK już nie.
...Kod: [Zaznacz][vk] This video is only available for registered users. Use --cookies, --cookies-from-browser, --username and --password, or --netrc (vk) to provide account credentials...
Cytat: kowa.pi w 2022-06-29, 15:41:42Z youtube pobiera bez logowania ale z Facebooka i VK już nie.Nie wiem czy zauważyłeś, ale youtube-dl oraz yt-dlp (jak sama nazwa mówi) jest tylko i wyłącznie przeznaczony do pobierania filmów z YouTube.
Command-line program to download videos from YouTube.com and other video sites
...EDIT. Oczywiście usuń plik .netrc, bo jest niepotrzebny.
uthentication Options:-u, --username USERNAME Login with this account ID-p, --password PASSWORD Account password. If this option is left out, youtube-dl will ask interactively.-2, --twofactor TWOFACTOR Two-factor authentication code-n, --netrc Use .netrc authentication data--video-password PASSWORD Video password (vimeo, youku)
Wypadałoby choćby przeczytać coś na temat tych programów, zanim podejmiesz się komentowania.
A proszę Cię bardzo - pierwsze lepsze, sforkowane repo: https://github.com/Sixline/FireDM