From 0704306e1daa52a825e8b37af0693d83571d9c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Thu, 22 Feb 2018 22:31:28 +0700 Subject: [PATCH] [nexx] Add support for arc.nexx.cloud URLs --- youtube_dl/extractor/nexx.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/nexx.py b/youtube_dl/extractor/nexx.py index 129f358a2..0a8d844d4 100644 --- a/youtube_dl/extractor/nexx.py +++ b/youtube_dl/extractor/nexx.py @@ -16,7 +16,8 @@ class NexxIE(InfoExtractor): _VALID_URL = r'''(?x) (?: https?://api\.nexx(?:\.cloud|cdn\.com)/v3/\d+/videos/byid/| - nexx:(?:\d+:)? + nexx:(?:\d+:)?| + https?://arc\.nexx\.cloud/api/video/ ) (?P\d+) ''' @@ -65,6 +66,9 @@ class NexxIE(InfoExtractor): }, { 'url': 'nexx:128907', 'only_matching': True, + }, { + 'url': 'https://arc.nexx.cloud/api/video/128907.json', + 'only_matching': True, }] @staticmethod