1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

Update dzsecurity.py

This commit is contained in:
CasperMcFadden95 2025-06-18 18:06:15 +00:00 committed by GitHub
parent e08d700643
commit 26ee481f67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@
class DzsecurityLiveIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?(echoroukonline|ennaharonline)\.com/live(?:-news)?'
_VALID_URL = r'https?://(?:www\.)?(echoroukonline\.com/live(?:-news)?|ennaharonline\.com/live(?:-news)?|elhayat\.dz/%D8%A7%D9%84%D8%A8%D8%AB-%D8%A7%D9%84%D8%AD%D9%8A)'
_TESTS = [{
'url': 'https://www.echoroukonline.com/live',
@ -23,6 +23,14 @@ class DzsecurityLiveIE(InfoExtractor):
'ext': 'mp4',
'live_status': 'is_live',
},
}, {
'url': 'https://elhayat.dz/%D8%A7%D9%84%D8%A8%D8%AB-%D8%A7%D9%84%D8%AD%D9%8A',
'info_dict': {
'id': 'elhayattv',
'title': r're:البث الحي - الحياة \d{4}-\d{2}-\d{2} \d{2}:\d{2}',
'ext': 'mp4',
'live_status': 'is_live',
},
}]
def _real_extract(self, url):