Browse Source

[nexx] Add support for arc.nexx.cloud URLs

Sergey M․ 7 years ago
parent
commit
0704306e1d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      youtube_dl/extractor/nexx.py

+ 5 - 1
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<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