Repository: yt-dlp/yt-dlp
File: yt_dlp/extractor/playsuisse.py (Python)

Code before:
        {
            # Old URL
            'url': 'https://www.playsuisse.ch/watch/763211/0',
            'only_matching': True,
        },
        {
            # episode in a series
            'url': 'https://www.playsuisse.ch/watch/763182?episodeId=763211',
            'md5': '82df2a470b2dfa60c2d33772a8a60cf8',
            'info_dict': {
                'id': '763211',
                'ext': 'mp4',
                'title': 'Knochen',
                'description': 'md5:2f88aab021fe3ba4b301ad7456b14cbb',
                'duration': 3344,
                'series': 'Wilder',
                'season': 'Season 1',
                'season_number': 1,
                'episode': 'Knochen',
                'episode_number': 1,
                'thumbnail': 're:https://playsuisse-img.akamaized.net/',
            },
        }, {
            # film
            'url': 'https://www.playsuisse.ch/detail/2573198',
            'md5': '818b94c1d2d7c4beef953f12cb8f3e75',
            'info_dict': {
                'id': '2573198',
                'ext': 'mp4',
                'title': 'Azor',
                'description': 'md5:1550b151bc818fd0d12f6517d9821ddc',
                'genres': 'Fiction',
                'creators': 'Andreas Fontana',
                'cast': 'Fabrizio Rongione, Stéphanie Cléau, Gilles Privat, Alexandre Trocki',
                'location': 'France, Argentine',
                'year': '2021',
                'duration': 5715,
                'thumbnail': 're:https://playsuisse-img.akamaized.net/',
            },
        }, {
            # series (treated as a playlist)
            'url': 'https://www.playsuisse.ch/detail/1115687',
            'info_dict': {
                'id': '1115687',
                'series': 'They all came out to Montreux',
                'title': 'They all came out to Montreux',
                'description': 'md5:0fefd8c5b4468a0bb35e916887681520',
                'genres': 'Documentary',
                'creators': 'Oliver Murray',
                'location': 'Switzerland',
                'year': '2021',

Review comment (suggestion):
The old movie/URL was dead, I added an available movie.
But since idk how this md5 is generated, i left it as it is:
```
'md5': '818b94c1d2d7c4beef953f12cb8f3e75',
```

Code after:
    _VALID_URL = r'https?://(?:www\.)?playsuisse\.ch/(?:watch|detail)/(?:[^#]*[?&]episodeId=)?(?P<id>[0-9]+)'
    _TESTS = [
        {
            # Old URL
            'url': 'https://www.playsuisse.ch/watch/763211/0',
            'only_matching': True,
        },
        {
            # episode in a series
            'url': 'https://www.playsuisse.ch/watch/763182?episodeId=763211',
            'md5': 'e20d1ede6872a03b41905ca1060a1ef2',
            'info_dict': {
                'id': '763211',
                'ext': 'mp4',
                'title': 'Knochen',
                'description': 'md5:3bdd80e2ce20227c47aab1df2a79a519',
                'duration': 3344,
                'series': 'Wilder',
                'season': 'Season 1',
                'season_number': 1,
                'episode': 'Knochen',
                'episode_number': 1,
                'thumbnail': 're:https://playsuisse-img.akamaized.net/',
            },
        }, {
            # film
            'url': 'https://www.playsuisse.ch/detail/2573198',
            'md5': '1f115bb0a5191477b1a5771643a4283d',
            'info_dict': {
                'id': '2573198',
                'ext': 'mp4',
                'title': 'Azor',
                'description': 'md5:d41d8cd98f00b204e9800998ecf8427e',
                'genres': ['Fiction'],
                'creators': ['Andreas Fontana'],
                'cast': ['Fabrizio Rongione', 'Stéphanie Cléau', 'Gilles Privat', 'Alexandre Trocki'],
                'location': 'France; Argentine',
                'release_year': 2021,
                'duration': 5981,
                'thumbnail': 're:https://playsuisse-img.akamaized.net/',
            },
        }, {
            # series (treated as a playlist)
            'url': 'https://www.playsuisse.ch/detail/1115687',
            'info_dict': {
                'id': '1115687',
                'series': 'They all came out to Montreux',
                'title': 'They all came out to Montreux',
                'description': 'md5:0fefd8c5b4468a0bb35e916887681520',
                'genres': ['Documentary'],
                'creators': ['Oliver Murray'],