Repository: yt-dlp
Issue: `--ap-mso hin020-02` broken: Unable to extract post url
Labels: account-needed,geo-blocked,site-bug,can-share-account

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I'm running yt-dlp version **2023.03.04** ([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 [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and 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

United States

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

Tried downloading the video from this URL : https://play.history.com/shows/the-secret-of-skinwalker-ranch/season-4/episode-8

All that happens is this :ERROR: [aenetworks] shows/the-secret-of-skinwalker-ranch/season-4/episode-8: Unable to extract post url; 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
 -vU output is below


I am Able to download the video If I stop the video , right click on it , click inspect , then click Network , search for .M3U8  then start the video and copy the link address. that will work   

looking at the yt_dlp\extractor\aenetworks.py  there doesn't seem to be a PLAY.history.com in the list , there is history.com and a play.aetv.com in there.

I did see a #3574 in the issues, with this same error but it went back to an auth issue (#517), and I am not having that, as I said before if I grab the m3u8 mself , It will download it  I.E:
--ap-mso hin020-02 --ap-username PRIVATE --ap-password 'PRIVATE' "https://sundriesvds-video.akamaized.net/bitmovin/AETN-History_VMS/THC_SKIN_277618_GLB_448972_2398_60_20230605_01_AETN-History_VMS_,18,13,10,7,4,2,1,00.mp4.csmil/master.m3u8?audio=en,en_commentary&origin=credentials-prod&hdnts=st=1686839800~exp=1686850630~acl=/bitmovin/AETN-History_VMS/THC_SKIN_277618_GLB_448972_2398_60_20230605_01_AETN-History_VMS_*~hmac=868020a9ba14905c55b45c937c9fed68147b459b78fac663cc2f3bd6f0ae7fb7"



### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[debug] Command-line config: ['--ap-mso', 'hin020-02', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', 'https://play.history.com/shows/the-secret-of-skinwalker-ranch/season-4/episode-8', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.03.04 [392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 6.0-full_build-www.gyan.dev (setts), ffprobe 6.0-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.03.04, Current version: stable@2023.03.04
Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date (stable@2023.03.04)
[aenetworks] Extracting URL: https://play.history.com/shows/the-secret-of-skinwalker-ranch/season-4/episode-8
[aenetworks] /shows/the-secret-of-skinwalker-ranch/season-4/episode-8: Downloading JSON metadata
[aenetworks] 2226251331704: Downloading JSON metadata
[aenetworks] 2226251331704: Downloading Provider Redirect Page
ERROR: [aenetworks] shows/the-secret-of-skinwalker-ranch/season-4/episode-8: Unable to extract post url; 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 694, in extract
  File "yt_dlp\extractor\aenetworks.py", line 171, in _real_extract
  File "yt_dlp\extractor\aenetworks.py", line 88, in _extract_aetn_info
  File "yt_dlp\extractor\adobepass.py", line 1707, in _extract_mvpd_auth
  File "yt_dlp\extractor\adobepass.py", line 1395, in post_form
  File "yt_dlp\extractor\common.py", line 1278, in _html_search_regex
  File "yt_dlp\extractor\common.py", line 1242, in _search_regex
```