Repository: yt-dlp
Issue: [yandexmusic:playlist] `argument of type 'bool' is not iterable` after calling `_download_webpage_handle`
Labels: account-needed,site-bug

### Checklist

- [X] I'm reporting a bug unrelated to a specific site
- [X] I've verified that I'm running yt-dlp version **2022.07.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 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)

### Provide a description that is worded well enough to be understood

While downloading large Yandex Music playlist I get error `argument of type 'bool' is not iterable`

The reason is that:
- `InfoExtractor._download_webpage_handle` [can](https://github.com/yt-dlp/yt-dlp/blob/14f25df2b6233553e968df023430ca96c0b1df9f/yt_dlp/extractor/common.py#L836) return `False`
- Derived class tests for some string within result:
  - Yandex Music affected: [link](https://github.com/yt-dlp/yt-dlp/blob/66cf3e1001b6d9a2829fe834c3f9103b0890918e/yt_dlp/extractor/yandexmusic.py#L39)
  - Also Xiaomi may be affected: [link](https://github.com/yt-dlp/yt-dlp/blob/66cf3e1001b6d9a2829fe834c3f9103b0890918e/yt_dlp/extractor/xiami.py#L11)
  - And Adobe possibly too: [link](https://github.com/yt-dlp/yt-dlp/blob/14f25df2b6233553e968df023430ca96c0b1df9f/yt_dlp/extractor/adobepass.py#L1461), unpacks result of `_download_webpage_handle`, which [calls](https://github.com/yt-dlp/yt-dlp/blob/14f25df2b6233553e968df023430ca96c0b1df9f/yt_dlp/extractor/adobepass.py#L1361) base version

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
yt-dlp --cookies ..\..\yandex.music.txt https://music.yandex.ru/users/VoidEx/playlists/1031 -vU
[debug] Command-line config: ['--cookies', '..\\..\\yandex.music.txt', 'https://music.yandex.ru/users/VoidEx/playlists/1031', '-vU']
[debug] Encodings: locale cp1251, fs utf-8, pref cp1251, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05e] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[debug] [yandexmusic:playlist] Extracting URL: https://music.yandex.ru/users/VoidEx/playlists/1031
[yandexmusic:playlist] 1031: Downloading playlist JSON
[yandexmusic:playlist] 1031: Downloading missing tracks JSON chunk 1
WARNING: [yandexmusic:playlist] Unable to download JSON metadata: HTTP Error 431: Request Header Fields Too Large
ERROR: argument of type 'bool' is not iterable
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1431, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1506, in __extract_info
  File "yt_dlp\extractor\common.py", line 644, in extract
  File "yt_dlp\extractor\yandexmusic.py", line 356, in _real_extract
  File "yt_dlp\extractor\yandexmusic.py", line 217, in _extract_tracks
  File "yt_dlp\extractor\yandexmusic.py", line 49, in _call_api
  File "yt_dlp\extractor\yandexmusic.py", line 44, in _download_json
  File "yt_dlp\extractor\common.py", line 1004, in download_content
  File "yt_dlp\extractor\common.py", line 968, in download_handle
  File "yt_dlp\extractor\yandexmusic.py", line 39, in _download_webpage_handle
TypeError: argument of type 'bool' is not iterable
```