Skip to content

Commit

Permalink
[ie/ERRJupiter] Improve _VALID_URL (#9218)
Browse files Browse the repository at this point in the history
Authored by: glensc
  • Loading branch information
glensc committed Feb 17, 2024
1 parent de954c1 commit 80ed8bd
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion yt_dlp/extractor/err.py
Expand Up @@ -9,7 +9,7 @@


class ERRJupiterIE(InfoExtractor):
_VALID_URL = r'https?://jupiter(?:pluss)?\.err\.ee/(?P<id>\d+)'
_VALID_URL = r'https?://(?:jupiter(?:pluss)?|lasteekraan)\.err\.ee/(?P<id>\d+)'
_TESTS = [{
'note': 'Jupiter: Movie: siin-me-oleme',
'url': 'https://jupiter.err.ee/1211107/siin-me-oleme',
Expand Down Expand Up @@ -145,6 +145,31 @@ class ERRJupiterIE(InfoExtractor):
'season_number': 0,
'series': 'Лесные истории | Аисты',
'series_id': '1037497',
}
}, {
'note': 'Lasteekraan: Pätu',
'url': 'https://lasteekraan.err.ee/1092243/patu',
'md5': 'a67eb9b9bcb3d201718c15d1638edf77',
'info_dict': {
'id': '1092243',
'ext': 'mp4',
'title': 'Pätu',
'alt_title': '',
'description': 'md5:64a7b5a80afd7042d3f8ec48c77befd9',
'release_date': '20230614',
'upload_date': '20200520',
'modified_date': '20200520',
'release_timestamp': 1686745800,
'timestamp': 1589975640,
'modified_timestamp': 1589975640,
'release_year': 1990,
'episode': 'Episode 1',
'episode_id': '1092243',
'episode_number': 1,
'season': 'Season 1',
'season_number': 1,
'series': 'Pätu',
'series_id': '1092236',
},
}]

Expand Down

0 comments on commit 80ed8bd

Please sign in to comment.