diff --git a/youtube_dl/extractor/adobepass.py b/youtube_dl/extractor/adobepass.py index 38dca1b0a..eefed00df 100644 --- a/youtube_dl/extractor/adobepass.py +++ b/youtube_dl/extractor/adobepass.py @@ -392,6 +392,9 @@ MSO_INFO = { 'coo080': { 'name': 'Cooperative Telephone Company' }, + 'Cox': { + 'name': 'Cox Communications' + }, 'cpt010': { 'name': 'CP-TEL' }, @@ -1360,9 +1363,11 @@ class AdobePassIE(InfoExtractor): token_expires = unified_timestamp(re.sub(r'[_ ]GMT', '', xml_text(token, date_ele))) return token_expires and token_expires <= int(time.time()) - def post_form(form_page_res, note, data={}): + def post_form(form_page_res, note, data={}, form_regex=None): + if not form_regex: + form_regex = r'