Repository: yt-dlp
Issue: Unable to download certain Egghead:Course
Labels: site-bug

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2022.03.08.1**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [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](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

United States

### Description

Can download Egghead Course from example https://raw.githubusercontent.com/pukkandan/yt-dlp-dev/master/yt_dlp/extractor/egghead.py but cannot download https://egghead.io/courses/build-static-pages-dynamically-using-next-js-and-the-notion-api-34849fc4 regardless of which link / format I try. 

### Verbose log

```shell
❯ yt-dlp -vU https://app.egghead.io/playlists/build-static-pages-dynamically-using-next-js-and-the-notion-api-34849fc4
[debug] Command-line config: ['-vU', 'https://app.egghead.io/playlists/build-static-pages-dynamically-using-next-js-and-the-notion-api-34849fc4']
[debug] User config "/Users/laptop/.config/yt-dlp/config": []
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.03.08.2 [e491d06d3]
[debug] Python version 3.9.10 (CPython 64bit) - macOS-12.1-x86_64-i386-64bit
[debug] exe versions: ffmpeg 5.0 (setts), ffprobe 5.0
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
Latest version: 2022.03.08.1, Current version: 2022.03.08.2
yt-dlp is up to date (2022.03.08.2)
[debug] [egghead:course] Extracting URL: https://app.egghead.io/playlists/build-static-pages-dynamically-using-next-js-and-the-notion-api-34849fc4
[egghead:course] build-static-pages-dynamically-using-next-js-and-the-notion-api-34849fc4: Downloading course lessons JSON
ERROR: [egghead:course] build-static-pages-dynamically-using-next-js-and-the-notion-api-34849fc4: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 617, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/extractor/egghead.py", line 42, in _real_extract
    lessons = self._call_api(
  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/extractor/egghead.py", line 17, in _call_api
    return self._download_json(
  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 997, in _download_json
    res = self._download_json_handle(
  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 976, in _download_json_handle
    res = self._download_webpage_handle(
  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 768, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 753, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 735, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/Cellar/yt-dlp/2022.3.8.2/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3591, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
```

[self](https://enoemos.notion.site/Unable-to-download-certain-Egghead-Course-3080-https-github-com-yt-dlp-yt-dlp-issues-3080-a62a42937b6a464c9096390bea13be74)
[github](https://github.com/yt-dlp/yt-dlp/issues/3080)