Repository: yt-dlp
Issue: ABC iView - "Extractor error" on some URLs lacking a trailing "/"; "Unsupported" error on some URLs having a trailing "/"
Labels: geo-blocked,site-bug

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2023.01.06** ([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/yt-dlp/yt-dlp/wiki/FAQ#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

Australia

### Provide a description that is worded well enough to be understood

URLs in this form: "https://iview.abc.net.au/show/exhibitionists/" return "Unsupported" which is correct.
URLs in this form: "https://iview.abc.net.au/show/exhibitionists" return an extractor error instead.

However, URLs for playlists return the opposite result. i.e.
URLs in this form: "https://iview.abc.net.au/show/tiny-oz" are treated as playlists which is correct.
URLs in this form: "https://iview.abc.net.au/show/tiny-oz/" return an "Unsupported" error which is not correct.


### 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 -v "https://iview.abc.net.au/show/exhibitionists" 
[debug] Command-line config: ['-v', 'https://iview.abc.net.au/show/exhibitionists']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (darwin_exe)
[debug] Python 3.8.9 (CPython arm64 64bit) - macOS-13.1-arm64-arm-64bit (LibreSSL 2.8.3)
[debug] exe versions: ffmpeg 5.1.2-https (setts), ffprobe 5.1.2-https
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Using fake IP 1.153.235.118 (AU) as X-Forwarded-For
[abc.net.au:iview:showseries] Extracting URL: https://iview.abc.net.au/show/exhibitionists
[abc.net.au:iview:showseries] exhibitionists: Downloading webpage
[abc.net.au:iview:showseries] Downloading playlist exhibitionists - add --no-playlist to download just the highlight video
ERROR: exhibitionists: An extractor error has occurred. (caused by KeyError('selectedSeries')); 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 "yt_dlp/extractor/common.py", line 680, in extract
  File "yt_dlp/extractor/abc.py", line 302, in _real_extract
KeyError: 'selectedSeries'

yt-dlp -v "https://iview.abc.net.au/show/exhibitionists/"
[debug] Command-line config: ['-v', 'https://iview.abc.net.au/show/exhibitionists/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (darwin_exe)
[debug] Python 3.8.9 (CPython arm64 64bit) - macOS-13.1-arm64-arm-64bit (LibreSSL 2.8.3)
[debug] exe versions: ffmpeg 5.1.2-https (setts), ffprobe 5.1.2-https
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[generic] Extracting URL: https://iview.abc.net.au/show/exhibitionists/
[generic] exhibitionists: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] exhibitionists: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://iview.abc.net.au/show/exhibitionists/
Traceback (most recent call last):
  File "yt_dlp/YoutubeDL.py", line 1502, in wrapper
  File "yt_dlp/YoutubeDL.py", line 1578, in __extract_info
  File "yt_dlp/extractor/common.py", line 680, in extract
  File "yt_dlp/extractor/generic.py", line 2523, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://iview.abc.net.au/show/exhibitionists/

yt-dlp -v "https://iview.abc.net.au/show/tiny-oz"
[debug] Command-line config: ['-v', 'https://iview.abc.net.au/show/tiny-oz']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (darwin_exe)
[debug] Python 3.8.9 (CPython arm64 64bit) - macOS-13.1-arm64-arm-64bit (LibreSSL 2.8.3)
[debug] exe versions: ffmpeg 5.1.2-https (setts), ffprobe 5.1.2-https
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Using fake IP 1.146.94.103 (AU) as X-Forwarded-For
[abc.net.au:iview:showseries] Extracting URL: https://iview.abc.net.au/show/tiny-oz
[abc.net.au:iview:showseries] tiny-oz: Downloading webpage
[abc.net.au:iview:showseries] Downloading playlist tiny-oz - add --no-playlist to download just the highlight video
[download] Downloading playlist: Series 1
[abc.net.au:iview:showseries] Playlist Series 1: Downloading 3 items of 3
[download] Downloading item 1 of 3
[debug] Using fake IP 1.144.51.53 (AU) as X-Forwarded-For
[abc.net.au:iview] Extracting URL: https://iview.abc.net.au/show/tiny-oz/series/1/video/AC2013H001S00
[abc.net.au:iview] AC2013H001S00: Downloading JSON metadata
[abc.net.au:iview] AC2013H001S00: Downloading webpage
[abc.net.au:iview] AC2013H001S00: Downloading m3u8 information
WARNING: [abc.net.au:iview] Ignoring subtitle tracks found in the HLS manifest; if any subtitle tracks are missing, 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
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] AC2013H001S00: Downloading 1 format(s): hls-1818
[debug] Invoking hlsnative downloader on "https://iview-vod-hls.akamaized.net/prod/ac2/AC2013H001S00MA2D1/20220417121602/hls/4500000/hdntl=exp=1674345741~acl=%2f*~data=hdntl~hmac=f74ad6aac12ba0d0366182e4dc34e76ed4f660e24a186cc3b5b9ce073652970d/stream.m3u8?aka_me_session_id=AAAAAAAAAAANfcxjAAAAAB9s85ebqD7%2fcIgvo3YoOPAHRyEtUd1uR%2fvYSSlCop%2fd3XWQRUX6gQCarqna3ugLEmn5dXd9RwHY&aka_media_format_type=hls"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 355
[download] Destination: Series 1 Ep 1 Sydney [AC2013H001S00].mp4
[download]   1.3% of ~ 813.26MiB at    3.28MiB/s ETA 03:19 (frag 4/355)^C

yt-dlp -v "https://iview.abc.net.au/show/tiny-oz/"                  
[debug] Command-line config: ['-v', 'https://iview.abc.net.au/show/tiny-oz/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (darwin_exe)
[debug] Python 3.8.9 (CPython arm64 64bit) - macOS-13.1-arm64-arm-64bit (LibreSSL 2.8.3)
[debug] exe versions: ffmpeg 5.1.2-https (setts), ffprobe 5.1.2-https
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[generic] Extracting URL: https://iview.abc.net.au/show/tiny-oz/
[generic] tiny-oz: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] tiny-oz: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://iview.abc.net.au/show/tiny-oz/
Traceback (most recent call last):
  File "yt_dlp/YoutubeDL.py", line 1502, in wrapper
  File "yt_dlp/YoutubeDL.py", line 1578, in __extract_info
  File "yt_dlp/extractor/common.py", line 680, in extract
  File "yt_dlp/extractor/generic.py", line 2523, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://iview.abc.net.au/show/tiny-oz/
```