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

ERROR: No video formats found (Not geo-restricted) #23129

Closed
tanymb1688 opened this issue Nov 17, 2019 · 22 comments
Closed

ERROR: No video formats found (Not geo-restricted) #23129

tanymb1688 opened this issue Nov 17, 2019 · 22 comments

Comments

@tanymb1688
Copy link

@tanymb1688 tanymb1688 commented Nov 17, 2019

Checklist

  • [x ] I'm reporting a broken site support issue
  • [ x] I've verified that I'm running youtube-dl version 2019.11.05
  • [ x] I've checked that all provided URLs are alive and playable in a browser
  • [ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [ x] I've searched the bugtracker for similar bug reports including closed ones
  • [x ] I've read bugs section in FAQ

Verbose log

youtube-dl -v --proxy "" --sub-lang en --sub-format srt  -o "Law.of.the.Jungle.E380.1080p.WEB-DL.H264.AAC-KMX.mp4" https://www.viki.com/videos/1152589v-law-of-the-jungle-episode-380
[debug] System config: []
[debug] User config: ['--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', '--write-sub', '--sub-lang', 'en', '--sub-format', 'srt', '--hls-prefer-native', '--fixup', 'never']
[debug] Custom config: []
[debug] Command-line args: ['-v', '--proxy', '', '--sub-lang', 'en', '--sub-format', 'srt', '-o', 'Law.of.the.Jungle.E380.1080p.WEB-DL.H264.AAC-KMX.mp4', 'https://www.viki.com/videos/1152589v-law-of-the-jungle-episode-380']
[debug] Encodings: locale cp65001, fs mbcs, out cp65001, pref cp65001
[debug] youtube-dl version 2019.11.05
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2019-11-17-b741a84, ffprobe git-2019-11-17-b741a84, rtmpdump 2.4
[debug] Proxy map: {}
[viki] Logging in
[viki] 1152589v: Downloading video JSON
[viki] 1152589v: Downloading video streams JSON
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\viki.py", line 319, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\common.py", line 1327, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Previous episodes (E379 and before) may be downloaded, E380 onwards cannot be downloaded and reports "ERROR: No video formats found".

@tanymb1688 tanymb1688 changed the title ERROR: No video formats found; please report this issue (Not geo-restricted) ERROR: No video formats found (Not geo-restricted) Nov 17, 2019
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Nov 17, 2019

getting this message in the browser:

Sorry, this content is not available in your region.

@tanymb1688
Copy link
Author

@tanymb1688 tanymb1688 commented Nov 17, 2019

This resource is accessible using US and Canada IP.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Nov 17, 2019

after using a VPN I'm getting this:

Viki Pass Plus
This video is available only for Viki Pass Plus subscribers.

@tanymb1688
Copy link
Author

@tanymb1688 tanymb1688 commented Nov 17, 2019

I am using a Viki Pass Plus account.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Nov 17, 2019

in order to fix the problem, developers have to be able to reproduce it first, so you must provide account credentials to one of the developers willing to work on this issue.

@tanymb1688
Copy link
Author

@tanymb1688 tanymb1688 commented Nov 17, 2019

I can provide that. Provide me the email contact of the developer.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Nov 17, 2019

if someone is interested he can comment here, emails addresses normally can be found in the developer's profile.

@bahboric
Copy link

@bahboric bahboric commented Nov 24, 2019

I'm getting the same error message on some viki videos, but not all. Here is the verbose output:

Malacandra:Doctor Detective ric$ youtube-dl -F --write-sub --sub-lang en -o "%(title)s.%(ext)s" -u MYUSERNAME -p MYPASSWORD --verbose https://www.viki.com/videos/1153014v-doctor-detective-episode-25
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-F', u'--write-sub', u'--sub-lang', u'en', u'-o', u'%(title)s.%(ext)s', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'--verbose', u'https://www.viki.com/videos/1153014v-doctor-detective-episode-25']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.22
[debug] Python version 2.7.10 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-89883-gee88f31d34-tessus
[debug] Proxy map: {}
[viki] Logging in
[viki] 1153014v: Downloading video JSON
[viki] 1153014v: Downloading video streams JSON
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/viki.py", line 319, in _real_extract
    self._sort_formats(formats)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1327, in _sort_formats
    raise ExtractorError('No video formats found')
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I was able to download without trouble the first 24 episodes of this series, but get the error message starting at episode 25.

@bahboric
Copy link

@bahboric bahboric commented Nov 24, 2019

Interestingly, I tried to download another series, and got the same message at file 25 (out of 60), just as before. It is interesting that things would work fine and then stop working at the 25th video.

@manselmi
Copy link

@manselmi manselmi commented Dec 18, 2019

I'm having what seems to be the same issue, even when downloading episode 1 of some show. I'm using the current tip of master (2dbc096). I can confirm that I can watch this episode in a web browser. I'm located in the USA and this show is not geo-restricted there.

Command:

youtube-dl \
  --username <USERNAME> \
  --password <PASSWORD> \
  --sub-format vtt \
  --sub-langs en \
  --write-sub \
  --output 'Beautiful World, Wonderful Life - %(playlist_index)03d.%(ext)s' \
  --playlist-start 1 \
  --playlist-end 1 \
  --list-formats \
  --verbose \
  -- \
  https://www.viki.com/tv/36682c-beautiful-love-wonderful-life

Output:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--username', 'PRIVATE', '--password', 'PRIVATE', '--sub-format', 'vtt', '--sub-langs', 'en', '--write-sub', '--output', 'Beautiful World, Wonderful Life - %(playlist_index)03d.%(ext)s', '--playlist-start', '1', '--playlist-end', '1', '--list-formats', '--verbose', '--', 'https://www.viki.com/tv/36682c-beautiful-love-wonderful-life']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 3.7.5 (CPython) - Darwin-19.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[viki:channel] Logging in
[viki:channel] 36682c: Downloading channel JSON
[viki:channel] 36682c: Downloading episodes JSON page #1
[viki:channel] 36682c: Downloading episodes JSON page #2
[viki:channel] 36682c: Downloading clips JSON page #1
[viki:channel] 36682c: Downloading movies JSON page #1
[download] Downloading playlist: Beautiful Love, Wonderful Life
[viki:channel] playlist Beautiful Love, Wonderful Life: Collected 72 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[viki] Logging in
[viki] 1156619v: Downloading video JSON
[viki] 1156619v: Downloading video streams JSON
ERROR: No video formats found; 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.
Traceback (most recent call last):
  File "/Users/manselmi/virtualenv/youtube-dl/lib/python3.7/site-packages/youtube_dl-2019.11.28-py3.7.egg/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/Users/manselmi/virtualenv/youtube-dl/lib/python3.7/site-packages/youtube_dl-2019.11.28-py3.7.egg/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/Users/manselmi/virtualenv/youtube-dl/lib/python3.7/site-packages/youtube_dl-2019.11.28-py3.7.egg/youtube_dl/extractor/viki.py", line 319, in _real_extract
    self._sort_formats(formats)
  File "/Users/manselmi/virtualenv/youtube-dl/lib/python3.7/site-packages/youtube_dl-2019.11.28-py3.7.egg/youtube_dl/extractor/common.py", line 1327, in _sort_formats
    raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; 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.
@manselmi
Copy link

@manselmi manselmi commented Dec 18, 2019

To help developers with debugging, I've captured HTTP requests and responses of the following command using mitmproxy. It may easily be viewed after decompressing with gzip by opening it with mitmweb. I've redacted my Viki Pass credentials in the dump file: viki_mitmproxy.gz

Command (same as previous command except for --proxy):

youtube-dl \
  --username <USERNAME> \
  --password <PASSWORD> \
  --sub-format vtt \
  --sub-langs en \
  --write-sub \
  --output 'Beautiful World, Wonderful Life - %(playlist_index)03d.%(ext)s' \
  --playlist-start 1 \
  --playlist-end 1 \
  --list-formats \
  --verbose \
  --proxy https://localhost:8080 \
  -- \
  https://www.viki.com/tv/36682c-beautiful-love-wonderful-life

Output:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--username', 'PRIVATE', '--password', 'PRIVATE', '--sub-format', 'vtt', '--sub-langs', 'en', '--write-sub', '--output', 'Beautiful World, Wonderful Life - %(playlist_index)03d.%(ext)s', '--playlist-start', '1', '--playlist-end', '1', '--list-formats', '--verbose', '--proxy', 'https://localhost:8080', '--', 'https://www.viki.com/tv/36682c-beautiful-love-wonderful-life']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 3.7.5 (CPython) - Darwin-19.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1, rtmpdump 2.4
[debug] Proxy map: {'http': 'https://localhost:8080', 'https': 'https://localhost:8080'}
[viki:channel] Logging in
[viki:channel] 36682c: Downloading channel JSON
[viki:channel] 36682c: Downloading episodes JSON page #1
[viki:channel] 36682c: Downloading episodes JSON page #2
[viki:channel] 36682c: Downloading clips JSON page #1
[viki:channel] 36682c: Downloading movies JSON page #1
[download] Downloading playlist: Beautiful Love, Wonderful Life
[viki:channel] playlist Beautiful Love, Wonderful Life: Collected 72 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[viki] Logging in
[viki] 1156619v: Downloading video JSON
[viki] 1156619v: Downloading video streams JSON
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/Users/manselmi/.prefix/sw/homebrew/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/Users/manselmi/.prefix/sw/homebrew/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/Users/manselmi/.prefix/sw/homebrew/bin/youtube-dl/youtube_dl/extractor/viki.py", line 319, in _real_extract
    self._sort_formats(formats)
  File "/Users/manselmi/.prefix/sw/homebrew/bin/youtube-dl/youtube_dl/extractor/common.py", line 1327, in _sort_formats
    raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Looking at the HTTP dump, the final request (issued here) is a GET to

https://api.viki.io/v4/videos/1156619v/streams.json?app=100005a&t=1576712302&site=www.viki.com&token=kYEtJ8075t8u7j_uqmPl_jmz_2u0017888164uti00jcinCl005_02t&sig=f825d383c2de0cb7b01a7da0772f38ad1fa01b92

and the response body is an empty JSON payload:

{}

This results in the _sort_formats method being called with an empty list, which leads to the "No video formats found" ExtractorError.

@PranavBhattarai
Copy link

@PranavBhattarai PranavBhattarai commented Jun 15, 2020

@remitamine @manselmi

pranav@exam ~ [2]> youtube-dl -f bestaudio https://youtu.be/_HgzMhQTpOA
[youtube] _HgzMhQTpOA: Downloading webpage
ERROR: No video formats found; 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.
pranav@exam ~ [1]> 

Distro: Ubuntu 20.04
youtube-dl --version: 2020.03.24

@r4z0r5
Copy link

@r4z0r5 r4z0r5 commented Jun 15, 2020

Similar error while downloading a video with Python script. Definately not cause of law/country restrictions, downloading with German IP.
ydl_opts = { 'verbose': True, 'format': 'bestaudio/best', 'restrictfilenames':True, 'postprocessors': [{ 'key': 'FFmpegExtractAudio', 'preferredcodec': 'mp3', 'preferredquality': '192' }
Traceback:
ERROR: No video formats found; 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. Traceback (most recent call last): File "/home/r4z0r5/Extract_yt_audio/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info ie_result = ie.extract(url) File "/home/r4z0r5/Extract_yt_audio/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract ie_result = self._real_extract(url) File "/home/r4z0r5/Extract_yt_audio/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 2364, in _real_extract self._sort_formats(formats) File "/home/r4z0r5/Extract_yt_audio/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 1327, in _sort_formats raise ExtractorError('No video formats found') youtube_dl.utils.ExtractorError: No video formats found; 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.

@akshatdevp
Copy link

@akshatdevp akshatdevp commented Jun 17, 2020

Similar error while downloading a video with Python script. Definately not cause of law/country restrictions, downloading with German IP.
ydl_opts = { 'verbose': True, 'format': 'bestaudio/best', 'restrictfilenames':True, 'postprocessors': [{ 'key': 'FFmpegExtractAudio', 'preferredcodec': 'mp3', 'preferredquality': '192' }
Traceback:
ERROR: No video formats found; 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. Traceback (most recent call last): File "/home/r4z0r5/Extract_yt_audio/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info ie_result = ie.extract(url) File "/home/r4z0r5/Extract_yt_audio/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract ie_result = self._real_extract(url) File "/home/r4z0r5/Extract_yt_audio/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 2364, in _real_extract self._sort_formats(formats) File "/home/r4z0r5/Extract_yt_audio/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 1327, in _sort_formats raise ExtractorError('No video formats found') youtube_dl.utils.ExtractorError: No video formats found; 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.

@r4z0r5 I had the same error, try updating youtube-dl with
python -m pip install youtube-dl --upgrade
working for me.

@PranavBhattarai
Copy link

@PranavBhattarai PranavBhattarai commented Jun 17, 2020

@akshatdevp Well, that too didn't work for me. As u can see it down below:

pranav@exam ~> python -m pip install youtube-dl --upgrade
Collecting youtube-dl
  Downloading youtube_dl-2020.6.16.1-py2.py3-none-any.whl (1.8 MB)
     |████████████████████████████████| 1.8 MB 620 kB/s 
Installing collected packages: youtube-dl
  WARNING: The script youtube-dl is installed in '/home/pranav/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed youtube-dl-2020.6.16.1
pranav@exam ~> youtube-dl -f bestaudio https://youtu.be/_HgzMhQTpOA
[youtube] _HgzMhQTpOA: Downloading webpage
ERROR: No video formats found; 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.
pranav@exam ~ [1]> youtube-dl -f bestaudio https://www.youtube.com/watch?v=_HgzMhQTpOA&feature=youtu.be
fish: Unsupported use of '='. In fish, please use 'set feature youtu.be'.
pranav@exam ~ [1]> bash
pranav@exam:~$ youtube-dl -f bestaudio https://www.youtube.com/watch?v=_HgzMhQTpOA&feature=youtu.be
[1] 92542
pranav@exam:~$ [youtube] _HgzMhQTpOA: Downloading webpage
ERROR: No video formats found; 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.
@daniellasalle
Copy link

@daniellasalle daniellasalle commented Jul 26, 2020

Not sure how/if that ever gotten fixed and the time is now July 2020 and this problem is still current.

@mlloreda
Copy link

@mlloreda mlloreda commented Jul 29, 2020

@daniellasalle do you still run into issue if you install latest release (as prescribed in README)?

Can confirm issue still there for youtube-dl on Ubuntu 20.04 when installed via apt. But able to get around issue by downloading latest release binary.

@guest271314
Copy link

@guest271314 guest271314 commented Sep 9, 2020

@PranavBhattarai

$ /home/pranav/.local/bin/youtube-dl <URL>

@PranavBhattarai
Copy link

@PranavBhattarai PranavBhattarai commented Sep 9, 2020

@guest271314
Now I have 2 youtube-dl installed. I want to keep only the latest one. What to do?
Screenshot from 2020-09-09 20-08-31

@guest271314
Copy link

@guest271314 guest271314 commented Sep 9, 2020

You should be able to uninstall the default package.

@PranavBhattarai
Copy link

@PranavBhattarai PranavBhattarai commented Sep 10, 2020

@guest271314
I just did what you told using the command: sudo apt remove --purge youtube-dl.
Now I have to go to /home/pranav/.local/bin directory every single time if I want to use youtube-dl.
Why can I just type youtube-dl from the default location (i.e /home/pranav)? Is there a way through which I can run youtube-dl command from default location?

@guest271314
Copy link

@guest271314 guest271314 commented Sep 10, 2020

.@PranavBhattarai You should be able to add /home/pranav/.local/bin to PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants
You can’t perform that action at this time.