[Viafree] add support for Finland (#1253)

Authored by: 18928172992817182 (gustaf)
This commit is contained in:
gustaf 2021-10-14 14:04:40 +02:00 committed by GitHub
parent 974208e151
commit e3950399e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -336,8 +336,8 @@ class ViafreeIE(InfoExtractor):
_VALID_URL = r'''(?x)
https?://
(?:www\.)?
viafree\.(?P<country>dk|no|se)
/(?P<id>program(?:mer)?/(?:[^/]+/)+[^/?#&]+)
viafree\.(?P<country>dk|no|se|fi)
/(?P<id>(?:program(?:mer)?|ohjelmat)?/(?:[^/]+/)+[^/?#&]+)
'''
_TESTS = [{
'url': 'http://www.viafree.no/programmer/underholdning/det-beste-vorspielet/sesong-2/episode-1',
@ -389,6 +389,9 @@ class ViafreeIE(InfoExtractor):
}, {
'url': 'http://www.viafree.se/program/underhallning/i-like-radio-live/sasong-1/676869',
'only_matching': True,
}, {
'url': 'https://www.viafree.fi/ohjelmat/entertainment/amazing-makeovers/kausi-7/jakso-2',
'only_matching': True,
}]
_GEO_BYPASS = False