ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.63k stars 10.05k forks source link

[Udemy] ERROR: No video formats found #16289

Closed mark-ops closed 6 years ago

mark-ops commented 6 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.04.25. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl -v -r 1M -u XXXXXXX -p XXXXXXXX -o '~/MyVideos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/elasticsearch-6-and-elastic-stack-in-depth-and-hands-on/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-r', '1M', '-u', 'PRIVATE', '-p', 'PRIVATE', '-o', '~/MyVideos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s', 'https://www.udemy.com/elasticsearch-6-and-elastic-stack-in-depth-and-hands-on/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.04.25
[debug] Python version 3.6.4 (CPython) - CYGWIN_NT-6.1-2.10.0-0.325-5-3-x86_64-64bit-WindowsPE
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in
[udemy:course] elasticsearch-6-and-elastic-stack-in-depth-and-hands-on: Downloading webpage
[udemy:course] 1478894: Downloading course curriculum
[download] Downloading playlist: Elasticsearch 6 and Elastic Stack - In Depth and Hands On!
[udemy:course] playlist Elasticsearch 6 and Elastic Stack - In Depth and Hands On!: Collected 62 video ids (downloading 62 of them)
[download] Downloading video 1 of 62
[udemy] Downloading login popup
[udemy] 8878834: Downloading webpage
[udemy] 8878834: Downloading lecture 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 "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 789, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 440, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/udemy.py", line 360, in _real_extract
    self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1083, 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....

Description of your issue, suggested solution and other information

I was able to successfully download from the above URL yesterday. However I did get disconnected (presumably due to rate limiting) initially. I tried again today and the above error was generated. Nothing else has changed on my system.

dstftw commented 6 years ago

For any work on the issue you must provide account credentials.

Joeeeyy commented 6 years ago

I'm facing the same problem. I have specified account details like: youtube-dl -u user_email -p password -o 'E:/Udemy Ds/React and Redux/%( playlist)s/%(chapter_name)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.udemy.com/learn-and-understand-react-and-redux-i/learn/v4/t/lecture/6873336?start=0