From: Sergey M․ Date: Thu, 22 Feb 2018 15:31:28 +0000 (+0700) Subject: [nexx] Add support for arc.nexx.cloud URLs X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=0704306e1daa52a825e8b37af0693d83571d9c62;p=youtube-dl [nexx] Add support for arc.nexx.cloud URLs --- 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