]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[nexx] Add support for arc.nexx.cloud URLs
authorSergey M․ <dstftw@gmail.com>
Thu, 22 Feb 2018 15:31:28 +0000 (22:31 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 22 Feb 2018 15:31:28 +0000 (22:31 +0700)
youtube_dl/extractor/nexx.py

index 129f358a2fea1a522e4f90f46a495495f237cebb..0a8d844d4ee25d8a632c655c386aac9a6d73f470 100644 (file)
@@ -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<id>\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