Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vlive] Unable to download JSON metadata for channel #1639

Closed
7 tasks done
Wilann opened this issue Nov 12, 2021 · 4 comments
Closed
7 tasks done

[Vlive] Unable to download JSON metadata for channel #1639

Wilann opened this issue Nov 12, 2021 · 4 comments
Labels
incomplete Further information is needed site-bug Issue with a specific website

Comments

@Wilann
Copy link

Wilann commented Nov 12, 2021

Checklist

Region

Canada

Description

When trying to download entire channel from Vlive, there's a JSON "timeout" error.

I believe this is similar to #749, but for that issue there's a unauthorized error cause by "<HTTPError 401: 'Unauthorized'>".

Verbose log

$ yt-dlp -i "https://www.vlive.tv/channel/82DF8B/board/8527" -Uv
[debug] Command-line config: ['-i', 'https://www.vlive.tv/channel/82DF8B/board/8527', '-Uv']
[debug] User config file: /Users/wilsonchan/.config/yt-dlp/config
[debug] User config: ['--add-metadata']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, err UTF-8, pref UTF-8
[debug] yt-dlp version 2021.11.10.1
[debug] Python version 3.7.4 (CPython 64bit) - Darwin-21.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, keyring, mutagen, sqlite, websockets
[debug] Proxy map: {}
yt-dlp is up to date (2021.11.10.1)
[debug] [vlive:channel] Extracting URL: https://www.vlive.tv/channel/82DF8B/board/8527
[vlive:channel] 8527: Downloading board JSON metadata
[vlive:channel] 8527: Downloading playlist page 1
[download] Downloading playlist: 조유리 JO YURI - Star Board
[vlive:channel] playlist 조유리 JO YURI - Star Board: Downloading 1 videos
[download] Downloading video 1 of 1
[debug] [vlive:post] Extracting URL: https://www.vlive.tv/post/1-26256986
[vlive:post] 1-26256986: Downloading post JSON metadata
[debug] [vlive] Extracting URL: http://www.vlive.tv/video/267577
[vlive] 267577: Downloading officialVideoPost JSON metadata
[vlive] 267577: Downloading inkey JSON metadata
[vlive] 267577: Downloading JSON metadata
ERROR: [vlive] 267577: Unable to download JSON metadata: timed out (caused by timeout('timed out')); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output. (caused by timeout('timed out')); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/site-packages/yt_dlp/extractor/common.py", line 713, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/site-packages/yt_dlp/YoutubeDL.py", line 3295, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/site-packages/yt_dlp/utils.py", line 2766, in http_open
    req)
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/urllib/request.py", line 1320, in do_open
    r = h.getresponse()
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/http/client.py", line 1336, in getresponse
    response.begin()
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/http/client.py", line 306, in begin
    version, status, reason = self._read_status()
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/http/client.py", line 267, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/Users/wilsonchan/opt/anaconda3/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)

[download] Finished downloading playlist: 조유리 JO YURI - Star Boa
@Wilann Wilann added site-bug Issue with a specific website triage Untriaged issue labels Nov 12, 2021
@pukkandan
Copy link
Member

Possibly a network issue. I cant reproduce

➤ yt-dlp https://www.vlive.tv/channel/82DF8B/board/8527
[vlive:channel] 8527: Downloading board JSON metadata
[vlive:channel] 8527: Downloading playlist page 1
[download] Downloading playlist: 조유리 JO YURI - Star Board
[vlive:channel] playlist 조유리 JO YURI - Star Board: Downloading 1 videos
[download] Downloading video 1 of 1
[vlive:post] 1-26256986: Downloading post JSON metadata
[vlive] 267577: Downloading officialVideoPost JSON metadata
[vlive] 267577: Downloading inkey JSON metadata
[vlive] 267577: Downloading JSON metadata
[info] 267577: Downloading 1 format(s): avc1_1080P
[download] Destination: GLASSY HAPPY YULLOWEEN💞🎃 [267577].mp4
[download]   6.1% of 198.46MiB at  2.95MiB/s ETA 01:03
ERROR: Interrupted by user

@pukkandan pukkandan added cant-reproduce The issue cannot be reliably reproduced incomplete Further information is needed and removed cant-reproduce The issue cannot be reliably reproduced triage Untriaged issue labels Nov 16, 2021
@pukkandan
Copy link
Member

Please confirm whether you can still reproduce the issue

@Wilann
Copy link
Author

Wilann commented Nov 16, 2021

I can't reproduce either. I suppose it was a network issue. Thank you for checking it out. Will re-open if I encounter any more issues.

@Wilann Wilann closed this as completed Nov 16, 2021
@xa10121173
Copy link

I had same issue. Disable "--cookies-from-browser" option from your config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incomplete Further information is needed site-bug Issue with a specific website
Projects
None yet
Development

No branches or pull requests

3 participants