1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-27 05:13:39 +01:00

[mediaklikk] Expand valid URL

Partial fix for #1409
This commit is contained in:
pukkandan 2021-11-23 01:14:25 +05:30
parent 1ee34c76bb
commit f7b558df4d
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -12,8 +12,8 @@ from ..compat import (
class MediaKlikkIE(InfoExtractor): class MediaKlikkIE(InfoExtractor):
_VALID_URL = r'''(?x)^https?:\/\/(?:www\.)? _VALID_URL = r'''(?x)https?://(?:www\.)?
(?:mediaklikk|m4sport|hirado|petofilive)\.hu\/.*?videok?\/ (?:mediaklikk|m4sport|hirado|petofilive)\.hu/.*?(?:videok?|cikk)/
(?:(?P<year>[0-9]{4})/(?P<month>[0-9]{1,2})/(?P<day>[0-9]{1,2})/)? (?:(?P<year>[0-9]{4})/(?P<month>[0-9]{1,2})/(?P<day>[0-9]{1,2})/)?
(?P<id>[^/#?_]+)''' (?P<id>[^/#?_]+)'''