Private Video Vk

Private Video Vk




๐Ÿ›‘ ALL INFORMATION CLICK HERE ๐Ÿ‘ˆ๐Ÿป๐Ÿ‘ˆ๐Ÿป๐Ÿ‘ˆ๐Ÿป

































Private Video Vk




Features




Mobile




Actions




Codespaces




Copilot




Packages




Security




Code review




Issues




Discussions




Integrations




GitHub Sponsors




Customer stories








Explore GitHub


Learn and contribute



Topics




Collections




Trending




Skills




GitHub Sponsors




Open source guides


Connect with others



The ReadME Project




Events




Community forum




GitHub Education




GitHub Stars program








Plans




Compare plans




Contact Sales




Education






In this repository


All GitHub

โ†ต



In this repository


All GitHub

โ†ต



In this organization


All GitHub

โ†ต



In this repository


All GitHub

โ†ต







ytdl-org

/

youtube-dl


Public






Code



Issues



Pull requests



Actions



Projects



Security



Insights





dmitrybalsy opened this issue
Jun 18, 2022
ยท 30 comments







dmitrybalsy opened this issue
Jun 18, 2022
ยท 30 comments






youtube-dl -v -u < email/phone_number > -p < password > -vg " https://vk.com/video-133441491_456261066 "
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [ ' -v ' , ' -u ' , ' PRIVATE ' , ' -p ' , ' PRIVATE ' , ' -vg ' , ' https://vk.com/video-133441491_456261066 ' ]
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-5.13.0-1023-aws-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Proxy map: {}
# I edit file /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/vk.py with:
# def _login(self):
# username, password = self._get_login_info()
# print("-----------------------")
# print(username)
# print(password)
-----------------------
< username > # Used this username (copy/paste) to log in to my account via web UI
< password > # Used this password (copy/paste) to log in to my account via web UI
ERROR: Unable to login, incorrect username and/or password
Traceback (most recent call last):
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py " , line 815, in wrapper
return func(self, * args, ** kwargs)
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py " , line 836, in __extract_info
ie_result = ie.extract(url)
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py " , line 533, in extract
self.initialize ()
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py " , line 437, in initialize
self._real_initialize ()
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/vk.py " , line 66, in _real_initialize
self._login ()
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/vk.py " , line 62, in _login
raise ExtractorError(
youtube_dl.utils.ExtractorError: Unable to login, incorrect username and/or password





dmitrybalsy




added
the

question

label


Jun 18, 2022


youtube-dl -v -vg " https://vk.com/video-133441491_456261066 "
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [ ' -v ' , ' -vg ' , ' https://vk.com/video-133441491_456261066 ' ]
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-5.13.0-1023-aws-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Proxy map: {}
-----------------------
None
None
ERROR: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.
Traceback (most recent call last):
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py " , line 815, in wrapper
return func(self, * args, ** kwargs)
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py " , line 836, in __extract_info
ie_result = ie.extract(url)
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py " , line 534, in extract
ie_result = self._real_extract(url)
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/vk.py " , line 328, in _real_extract
payload = self._download_payload( ' al_video ' , video_id, data)
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/vk.py " , line 75, in _download_payload
self.raise_login_required ()
File " /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py " , line 941, in raise_login_required
raise ExtractorError(
youtube_dl.utils.ExtractorError: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.


dirkf



mentioned this issue

Jun 20, 2022



๐Ÿ‘
2
dmitrybalsy and bmigunov reacted with thumbs up emoji

All reactions



๐Ÿ‘
2 reactions




youtube-dl -v --cookies vk.com_cookies.txt https://vk.com/video-31480508_456243099
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--cookies', u'vk.com_cookies.txt', u'https://vk.com/video-31480508_456243099']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 2.7.18 (CPython) - Darwin-21.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 5.0.1, ffprobe 5.0.1, rtmpdump 2.4
[debug] Proxy map: {}
[vk] -31480508_456243099: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


๐Ÿ‘
2
Deathcrash and 92hg reacted with thumbs up emoji

All reactions



๐Ÿ‘
2 reactions




--- old/youtube_dl/extractor/vk.py
+++ new/youtube_dl/extractor/vk.py
@@ -16,6 +16,7 @@
orderedSet,
str_or_none,
str_to_int,
+ try_get,
unescapeHTML,
unified_timestamp,
url_or_none,
@@ -64,10 +65,14 @@

def _download_payload(self, path, video_id, data, fatal=True):
data['al'] = 1
+ url = 'https://vk.com/%s.php' % path
code, payload = self._download_json(
- 'https://vk.com/%s.php' % path, video_id,
+ url, video_id,
data=urlencode_postdata(data), fatal=fatal,
- headers={'X-Requested-With': 'XMLHttpRequest'})['payload']
+ headers={
+ 'X-Requested-With': 'XMLHttpRequest',
+ 'Referer': url,
+ })['payload']
if code == '3':
self.raise_login_required()
elif code == '8':
@@ -87,22 +92,22 @@
)
ext\.php\?(?P.*?\boid=(?P-?\d+).*?\bid=(?P\d+).*)|
(?:
- (?:(?:m|new)\.)?vk\.com/(?:.+?\?.*?z=)?video|
+ (?:(?:m|new)\.)?vk\.com/(?:.+?\?.*?z=)?video|clip|
(?:www\.)?daxab.com/embed/
)
- (?P-?\d+_\d+)(?:.*\blist=(?P[\da-f]+))?
+ (?P-?\d+_\d+)(?:.*\blist=(?P[\da-f]+|ln-[\da-zA-Z]+))?
)
'''
_TESTS = [
{
'url': 'http://vk.com/videos-77521?z=video-77521_162222515%2Fclub77521',
- 'md5': '7babad3b85ea2e91948005b1b8b0cb84',
+ 'md5': '56df4e32658e1ffb77fdf2548327f73a',
'info_dict': {
'id': '-77521_162222515',
'ext': 'mp4',
'title': 'ProtivoGunz - ะฅัƒั‘ะฒะฐั ะฟะตัะฝั',
'uploader': 're:(?:Noize MC|Alexander Ilyashenko).*',
- 'uploader_id': '-77521',
+ 'uploader_id': '39545378',
'duration': 195,
'timestamp': 1329049880,
'upload_date': '20120212',
@@ -124,7 +129,7 @@
{
'note': 'Embedded video',
'url': 'https://vk.com/video_ext.php?oid=-77521&id=162222515&hash=87b046504ccd8bfa',
- 'md5': '7babad3b85ea2e91948005b1b8b0cb84',
+ 'md5': '56df4e32658e1ffb77fdf2548327f73a',
'info_dict': {
'id': '-77521_162222515',
'ext': 'mp4',
@@ -133,7 +138,7 @@
'duration': 195,
'upload_date': '20120212',
'timestamp': 1329049880,
- 'uploader_id': '-77521',
+ 'uploader_id': '39545378',
},
},
{
@@ -180,6 +185,19 @@
'view_count': int,
},
'skip': 'Removed',
+ },
+ {
+ 'url': 'https://vk.com/video-93049196_456239755?list=ln-cBjJ7S4jYYx3ADnmDT',
+ 'info_dict': {
+ 'id': '-93049196_456239755',
+ 'ext': 'mp4',
+ 'title': '8 ัะตั€ะธั (ะพะทะฒัƒั‡ะบะฐ)',
+ 'duration': 8383,
+ 'timestamp': 1640162189,
+ 'upload_date': '20211222',
+ 'uploader': 'Dizi2021',
+ 'uploader_id': '-93049196',
+ },
},
{
# video (removed?) only available with list id
@@ -227,6 +245,7 @@
'params': {
'skip_download': True,
},
+ 'skip': 'This video has been deleted',
},
{
# video key is extra_data not url\d+
@@ -254,8 +273,6 @@
'title': 'ะ˜ะณั€ะพะœะธั€ 2016 ะ”ะตะฝัŒ 1 โ€” ะ˜ะณั€ะพะผะฐะฝะธั ะฃั‚ั€ะพะผ',
'uploader': 'ะ˜ะณั€ะพะผะฐะฝะธั',
'duration': 5239,
- # TODO: use act=show to extract view_count
- # 'view_count': int,
'upload_date': '20160929',
'uploader_id': '-387766',
'timestamp': 1475137527,
@@ -297,6 +314,10 @@
{
# The video is not available in your region.
'url': 'https://vk.com/video-51812607_171445436',
+ 'only_matching': True,
+ },
+ {
+ 'url': 'https://vk.com/clip30014565_456240946',
'only_matching': True,
}]

@@ -314,7 +335,7 @@
mv_data = {}
if video_id:
data = {
- 'act': 'show_inline',
+ 'act': 'show',
'video': video_id,
}
# Some videos (removed?) can only be downloaded with list id specified
@@ -323,8 +344,10 @@
data['list'] = list_id

payload = self._download_payload('al_video', video_id, data)
+ opts = try_get(payload, lambda x: x[-1], dict)
+ if not opts:
+ raise ExtractorError('Invalid payload data')
info_page = payload[1]
- opts = payload[-1]
mv_data = opts.get('mvData') or {}
player = opts.get('player') or {}
else:

๐ŸŽ‰
5
novikalexy, dmitrybalsy, backpac, Deathcrash, and illtellyoulater reacted with hooray emoji

All reactions



๐ŸŽ‰
5 reactions




def _download_payload(self, path, video_id, data, fatal=True):
youtube-dl -vg " https://vk.com/video-133441491_456261193 "
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [ ' -vg ' , ' https://vk.com/video-133441491_456261193 ' ]
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-5.13.0-1023-aws-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
https://vkvd262.mycdn.me/expires/1656117961051/srcIp/54.242.237.254/pr/40/srcAg/CHROME/ms/45.136.20.183/type/3/sig/eQKgW9u4xMs/ct/8/urls/185.226.53.172/clientType/13/zs/43/id/2634730506936/video/
youtube_dl . YoutubeDL ({ "outtmpl" : file_path }). download (
[ self . video_files_contents [ video ][ "source_link" ]]

๐Ÿ‘
4
dmitrybalsy, Megal, aminozuur, and Deathcrash reacted with thumbs up emoji

All reactions



๐Ÿ‘
4 reactions





๐Ÿ‘Ž
1
92hg reacted with thumbs down emoji

All reactions



๐Ÿ‘Ž
1 reaction





๐Ÿ‘Ž
1
92hg reacted with thumbs down emoji

All reactions



๐Ÿ‘Ž
1 reaction





๐Ÿ‘Ž
3
92hg, m4p, and illtellyoulater reacted with thumbs down emoji

All reactions



๐Ÿ‘Ž
3 reactions




def _download_payload(self, path, video_id, data, fatal=True):

๐Ÿ‘Ž
2
92hg and illtellyoulater reacted with thumbs down emoji

All reactions



๐Ÿ‘Ž
2 reactions






illtellyoulater



mentioned this issue

Aug 8, 2022



๐Ÿ‘
1
dirkf reacted with thumbs up emoji

All reactions



๐Ÿ‘
1 reaction




yt-dlp -F " https://vk.com/video-133441491_456261066 "

[debug] Command-line config: ['--ffmpeg-location', '..', '--downloader-args', 'ffmpeg:-v 8 -stats', '-v', '-F', 'https://vk.com/video-133441491_456261066']
[debug] Encodings: locale cp1253, fs utf-8, pref cp1253, out utf-8 (No VT), error utf-8 (No VT), screen utf-8 (No VT)
[debug] ytdl-patched/yt-dlp version 2022.09.05.810 [47a60be] (win32_exe)
[debug] ** This build is unofficial daily builds, provided for ease of use.
[debug] ** Please do not ask for any support.
[debug] Python 3.7.9 (CPython 32bit) - Windows-Vista-6.0.6003-SP2
[debug] Checking exe version: " ..\ffmpeg " -bsfs
[debug] Checking exe version: " ..\ffprobe " -bsfs
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1670 extractors
[debug] [vk] Extracting URL: https://vk.com/video-133441491_456261066
[vk] -133441491_456261066: Downloading JSON metadata
[vk] -133441491_456261066: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7),vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for -133441491_456261066:
ID EXT RESOLUTION FPS | FILESIZE TBR PROTO | VCODEC VBR ACODEC ABR
------------------------------------------------------------------------------------------
hls-193 mp4 256x144 25 | ~ 4.46MiB 194k m3u8 | unknown 194k unknown 0k
url240 unknown_video 240p | https | unknown unknown
hls-369 mp4 426x240 25 | ~ 8.52MiB 369k m3u8 | unknown 369k unknown 0k
url360 unknown_video 360p | https | unknown unknown
hls-725 mp4 640x360 25 | ~ 16.74MiB 725k m3u8 | unknown 725k unknown 0k
url480 unknown_video 480p | https | unknown unknown
hls-1185 mp4 852x480 25 | ~ 27.35MiB 1186k m3u8 | unknown 1186k unknown 0k
url720 unknown_video 720p | https | unknown unknown
hls-2460 mp4 1280x720 25 | ~ 56.77MiB 2461k m3u8 | unknown 2461k unknown 0k
url1080 unknown_video 1080p | https | unknown unknown
hls-5058 mp4 1920x1080 25 | ~116.70MiB 5058k m3u8 | unknown 5058k unknown 0k



Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment













You canโ€™t perform that action at this time.

Bbw Black Ass
Top Sait Nudist Teen
Lesbian Mom Hd

Report Page