|
|
@ -40,8 +40,17 @@ class GoIE(AdobePassIE):
|
|
|
|
'resource_id': 'Disney',
|
|
|
|
'resource_id': 'Disney',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
_VALID_URL = r'https?://(?:(?:(?P<sub_domain>%s)\.)?go|(?P<sub_domain_2>abc|freeform|disneynow))\.com/(?:(?:[^/]+/)*(?P<id>vdka\w+)|(?:[^/]+/)*(?P<display_id>[^/?#]+))'\
|
|
|
|
_VALID_URL = r'''(?x)
|
|
|
|
% '|'.join(list(_SITE_INFO.keys()))
|
|
|
|
https?://
|
|
|
|
|
|
|
|
(?:
|
|
|
|
|
|
|
|
(?:(?P<sub_domain>%s)\.)?go|
|
|
|
|
|
|
|
|
(?P<sub_domain_2>abc|freeform|disneynow)
|
|
|
|
|
|
|
|
)\.com/
|
|
|
|
|
|
|
|
(?:
|
|
|
|
|
|
|
|
(?:[^/]+/)*(?P<id>[Vv][Dd][Kk][Aa]\w+)|
|
|
|
|
|
|
|
|
(?:[^/]+/)*(?P<display_id>[^/?\#]+)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
''' % '|'.join(list(_SITE_INFO.keys()))
|
|
|
|
_TESTS = [{
|
|
|
|
_TESTS = [{
|
|
|
|
'url': 'http://abc.go.com/shows/designated-survivor/video/most-recent/VDKA3807643',
|
|
|
|
'url': 'http://abc.go.com/shows/designated-survivor/video/most-recent/VDKA3807643',
|
|
|
|
'info_dict': {
|
|
|
|
'info_dict': {
|
|
|
|