Repository: yt-dlp
Issue: 【CeskaTelevize.CZ】Is it possible to download a ČT video from within the Android app?
Labels: site-enhancement

### Checklist

- [X] I'm reporting a site feature request
- [X] I've verified that I'm running yt-dlp version **2021.12.01**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [ ] I've checked that all provided URLs are alive and playable in a browser
- [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

Czech

### Example URLs

https://www.ceskatelevize.cz/porady/10111864738-hercule-poirot/211381467540023/

### Description

Is it possible to download a video directly from the ČeskáTelevize (ČT) [app](https://play.google.com/store/apps/details?id=cz.motion.ivysilani) instead of from its website?

This newly released video "[Hercule Poirot - Plymouthský expres](https://www.ceskatelevize.cz/porady/10111864738-hercule-poirot/211381467540023/)" is marked as "unavailable/unplayable for license reasons" on the ČT website, **however, it is still perfectly playable in the CeskaTelevize app (see screenshot: https://app.box.com/file/894306132462?s=xucnudi0hk5cz3nkdlpbp5b9vqwf4tn0)** with my VPN turned on.

Kindly refer to the discussion here, too: https://github.com/ytdl-org/youtube-dl/issues/30172#issuecomment-990746077. Thank you.

(FYI I've also tried with [mkubecek's patch in the thread #1899](https://github.com/yt-dlp/yt-dlp/issues/1899#issuecomment-987030947), but it doesn't work, see below:)

```
~/video/TEST1/yt-dlp-master $ yt-dlp -Uv --write-subs --convert-subs srt --retries 20000 https://www.ceskatelevize.cz/porady/10111864738-hercule-poirot/211381467540023/
[debug] Command-line config: ['-Uv', '--write-subs', '--convert-subs', 'srt', '--retries', '20000', 'https://www.ceskatelevize.cz/porady/10111864738-hercule-poirot/211381467540023/']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, err utf-8, pref cp936
[debug] yt-dlp version 2021.12.01 [91f071af6] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python version 3.9.9 (CPython 64bit) - Windows-10-10.0.18363-SP0
[debug] exe versions: ffmpeg N-89508-g1f1207145a, ffprobe N-89508-g1f1207145a
[debug] Optional libraries: sqlite
[debug] Proxy map: {'http': 'http://192.168.1.4:8080', 'https': 'https://192.168.1.4:8080', 'ftp': 'ftp://192.168.1.4:8080'}
Latest version: 2021.12.01, Current version: 2021.12.01
yt-dlp is up to date (2021.12.01)
[debug] [CeskaTelevize] Extracting URL: https://www.ceskatelevize.cz/porady/10111864738-hercule-poirot/211381467540023/
[CeskaTelevize] 211381467540023: Downloading webpage
[CeskaTelevize] 211381467540023: Downloading webpage
[CeskaTelevize] 211381467540023: Downloading webpage
ERROR: [CeskaTelevize] 211381467540023: Unable to extract type; 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.; 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.
Traceback (most recent call last):
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\ceskatelevize.py", line 126, in _real_extract
    type_ = self._html_search_regex(
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\common.py", line 1182, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\common.py", line 1173, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract type; 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.
Traceback (most recent call last):
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\ceskatelevize.py", line 126, in _real_extract
    type_ = self._html_search_regex(
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\common.py", line 1182, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\common.py", line 1173, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract type; 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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\YoutubeDL.py", line 1331, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\YoutubeDL.py", line 1400, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Users\DELL\video\TEST1\yt-dlp-master\yt_dlp\extractor\common.py", line 625, in extract
    raise type(e)(e.msg, **kwargs)
yt_dlp.utils.RegexNotFoundError: [CeskaTelevize] 211381467540023: Unable to extract type; 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.; 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.

~/video/TEST1/yt-dlp-master $
```