[ard] improve extraction(closes #23761)

- simplify extraction
- extract age limit and series
- bypass geo-restriction
This commit is contained in:
Remita Amine
2020-01-17 14:23:24 +01:00
parent 48ff5590c1
commit c968f738df
2 changed files with 169 additions and 164 deletions

View File

@ -1,14 +1,14 @@
# coding: utf-8
from __future__ import unicode_literals
from .ard import ARDMediathekIE
from .ard import ARDMediathekBaseIE
from ..utils import (
ExtractorError,
get_element_by_attribute,
)
class SRMediathekIE(ARDMediathekIE):
class SRMediathekIE(ARDMediathekBaseIE):
IE_NAME = 'sr:mediathek'
IE_DESC = 'Saarländischer Rundfunk'
_VALID_URL = r'https?://sr-mediathek(?:\.sr-online)?\.de/index\.php\?.*?&id=(?P<id>[0-9]+)'