1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 19:52:11 +00:00

[drtv:live] Bypass geo restriction

This commit is contained in:
Sergey M․ 2017-03-06 03:21:03 +07:00
parent d2b64e04b4
commit fc11ad3833
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -156,6 +156,7 @@ class DRTVIE(InfoExtractor):
class DRTVLiveIE(InfoExtractor): class DRTVLiveIE(InfoExtractor):
IE_NAME = 'drtv:live' IE_NAME = 'drtv:live'
_VALID_URL = r'https?://(?:www\.)?dr\.dk/(?:tv|TV)/live/(?P<id>[\da-z-]+)' _VALID_URL = r'https?://(?:www\.)?dr\.dk/(?:tv|TV)/live/(?P<id>[\da-z-]+)'
_GEO_COUNTRIES = ['DK']
_TEST = { _TEST = {
'url': 'https://www.dr.dk/tv/live/dr1', 'url': 'https://www.dr.dk/tv/live/dr1',
'info_dict': { 'info_dict': {