Repository: yt-dlp
Issue: [REQUEST] Iwara.tv support search
Labels: site-request,NSFW

### Checklist

- [X] I'm reporting a site feature request
- [X] I've verified that I'm running yt-dlp version **2022.05.18** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [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)
- [ ] 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

_No response_

### Example URLs

https://ecchi.iwara.tv/search?query=fap

### Description

support downloading videos from iwara.tv search

### Verbose log

```shell
F:\downloader\iwara.tv\dl>yt-dlp https://ecchi.iwara.tv/search?query=fap --conf config_iwara --verbose
[debug] Command-line config: ['https://ecchi.iwara.tv/search?query=fap', '--conf', 'config_iwara', '--verbose']
[debug] | Config "config_iwara": ['--continue', '--http-chunk-size', '1M', '--buffer-size', '16K', '--sub-lang', 'english', '--embed-metadata', '--embed-thumbnail', '--abort-on-unavailable-fragment', '-o', '%(age_limit)s\\%(uploader)s\\%(title)s [%(id)s].%(ext)s', '--download-archive', 'downloaded.txt', '-f', 'Source/540p/360p', '--ffmpeg-location', 'D:\\Program Files\\ffmpeg\\bin']
[debug] User config "C:\Users\X\AppData\Roaming\yt-dlp\config": ['--continue', '--format-sort', 'vbr,abr', '--http-chunk-size', '1M', '--buffer-size', '16K', '--sub-lang', 'english', '--embed-metadata', '--abort-on-unavailable-fragment', '-o', '%(title)s [%(id)s].%(ext)s', '--ffmpeg-location', 'D:\\Program Files\\ffmpeg\\bin']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.05.18
[debug] ** Please make bug reports at https://github.com/yt-dlp/yt-dlp/issues/new/choose instead.
[debug] Lazy loading extractors is disabled
[debug] Python version 3.10.4 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] Checking exe version: "D:\Program Files\ffmpeg\bin\ffmpeg" -bsfs
[debug] Checking exe version: "D:\Program Files\ffmpeg\bin\ffprobe" -bsfs
[debug] exe versions: ffmpeg 2022-03-28-git-5ee198f9aa-essentials_build-www.gyan.dev (setts), ffprobe 2022-03-28-git-5ee198f9aa-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.14.1, WebSocketsWrapper-None, brotli-1.0.9, certifi-2021.10.08, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.2
[debug] Proxy map: {}
[debug] Loading archive file 'downloaded.txt'
[debug] [generic] Extracting URL: https://ecchi.iwara.tv/search?query=fap
[generic] search?query=fap: Requesting header
[generic] [debug] Fetching webpage from https://ecchi.iwara.tv/search?query=fap
WARNING: [generic] Falling back on generic information extractor.
[generic] search?query=fap: Downloading webpage
[generic] [debug] Fetching webpage from https://ecchi.iwara.tv/search?query=fap
[generic] search?query=fap: Extracting information
[debug] Looking for video embeds
[debug] Identified a HTML5 media
[debug] Sort order given by user: vbr, abr
[debug] Formats sorted by: hasvid, ie_pref, vbr, abr, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, asr, proto, vext, aext, hasaud, source, id
[download] Downloading playlist: 検索 | Iwara
[generic] playlist 検索 | Iwara: Collected 1 videos; downloading 1 of them
[download] Downloading video 1 of 1
ERROR: [generic] search?query=fap: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
  File "C:\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1462, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1920, in __process_iterable_entry
    return self.process_ie_result(
  File "C:\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 1613, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "C:\Python\Python310\lib\site-packages\yt_dlp\YoutubeDL.py", line 2760, in process_video_result
    raise ExtractorError(
yt_dlp.utils.ExtractorError: [generic] search?query=fap: Requested format is not available. Use --list-formats for a list of available formats

[download] Finished downloading playlist: 検索 | Iwara
[debug] Cleaning up 1 streams
```