Repository: yt-dlp
Issue: [Google Drive Folder] Extractor error caused by KeyError('items')
Labels: 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

I have tried to download the pictures contained in one of my Google Drive folders after checking that the folder is accessible to everyone and by copy-pasting the automatically generated folder link after the yt-dlp comment, but the download doesn't even begin as it ecnounters the error whose message can be read in the complete verbose output.

### 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
[debug] Command-line config: ['-vU', 'https://drive.google.com/drive/folders/1wmKgsAkcNIrYo_FGm2bztRvqc2n7OOx2?usp=sharing']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05ef6]
[debug] Python 3.10.5 (CPython 64bit) - Linux-5.18.0-3-amd64-x86_64-with-glibc2.33 (glibc 2.33)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.0.1-3 (setts), ffprobe 5.0.1-3, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, sqlite3-2.6.0, websockets-10.2
[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] [GoogleDrive:Folder] Extracting URL: https://drive.google.com/drive/folders/1wmKgsAkcNIrYo_FGm2bztRvqc2n7OOx2?usp=sharing
[GoogleDrive:Folder] 1wmKgsAkcNIrYo_FGm2bztRvqc2n7OOx2: Downloading webpage
[GoogleDrive:Folder] 1wmKgsAkcNIrYo_FGm2bztRvqc2n7OOx2: Downloading webpage
[GoogleDrive:Folder] 1wmKgsAkcNIrYo_FGm2bztRvqc2n7OOx2: Downloading webpage
ERROR: 1wmKgsAkcNIrYo_FGm2bztRvqc2n7OOx2: An extractor error has occurred. (caused by KeyError('items')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 644, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/googledrive.py", line 332, in _real_extract
    return self.playlist_from_matches(
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1146, in playlist_from_matches
    for m in orderedSet(map(getter, matches) if getter else matches))
  File "/usr/lib/python3/dist-packages/yt_dlp/utils.py", line 773, in orderedSet
    return _iter() if lazy else list(_iter())
  File "/usr/lib/python3/dist-packages/yt_dlp/utils.py", line 768, in _iter
    for x in iterable:
  File "/usr/lib/python3/dist-packages/yt_dlp/extractor/googledrive.py", line 321, in _get_folder_items
    yield from page['items']
KeyError: 'items'
```