Repository: yt-dlp
Issue: Playlist/serie support for puhutv.com
Labels: 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 requesting a site-specific feature
- [X] I've verified that I'm running yt-dlp version **2022.11.11** ([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

Turkiye

### Example URLs

Serie info: https://puhutv.com/gunpowder-detay (detay (TUR): detail (ENG))
S1E1: https://puhutv.com/gunpowder-1-sezon-1-bolum-izle
S1E2: https://puhutv.com/gunpowder-1-sezon-2-bolum-izle

### Provide a description that is worded well enough to be understood

yt-dlp can handle episodes one by one but can't extract playlist or all episodes.
URL shema is so simple; so I tried regex in urls but didn't work. We should use regex in url, it is an enhancement. I mean

`https://puhutv.com/gunpowder-1-sezon-1-bolum-izle` to 
`https://puhutv.com/gunpowder-[0-9]{1,2}-sezon-[0-9]{1,2}-bolum-izle`. Then check the possible urls and if it exist download it.

`yt-dlp -vF https://puhutv.com/gunpowder-detay` 's output is like that

```
[debug] Command-line config: ['-vF', 'https://puhutv.com/gunpowder-detay']
[debug] Encodings: locale cp1254, fs utf-8, pref cp1254, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (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 2022-11-28-git-becbb22eb0-full_build-www.gyan.dev (setts), ffprobe 2022-11-28-git-becbb22eb0-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] [puhutv:serie] Extracting URL: https://puhutv.com/gunpowder-detay
[puhutv:serie] gunpowder: Downloading JSON metadata
[download] Downloading playlist: Gunpowder
[puhutv:serie] 693: Downloading page 1
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); 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 807, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3692, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found

[puhutv:serie] Playlist Gunpowder: Downloading 1 videos of 0
[download] Finished downloading playlist: Gunpowder
```

### 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://puhutv.com/gunpowder-detay']
[debug] Encodings: locale cp1254, fs utf-8, pref cp1254, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (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 2022-11-28-git-becbb22eb0-full_build-www.gyan.dev (setts), ffprobe 2022-11-28-git-becbb22eb0-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.11.11, Current version: 2022.11.11
yt-dlp is up to date (2022.11.11)
[debug] [puhutv:serie] Extracting URL: https://puhutv.com/gunpowder-detay
[puhutv:serie] gunpowder: Downloading JSON metadata
[download] Downloading playlist: Gunpowder
[puhutv:serie] 693: Downloading page 1
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); 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 807, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3692, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found

[puhutv:serie] Playlist Gunpowder: Downloading 1 videos of 0
[download] Finished downloading playlist: Gunpowder
```