[nexx] Fix typo
authorSergey M․ <dstftw@gmail.com>
Wed, 7 Mar 2018 20:25:04 +0000 (03:25 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 7 Mar 2018 20:25:04 +0000 (03:25 +0700)
youtube_dl/extractor/nexx.py

index 117dfe8260341d3465930d8b1b666934d5941e06..c7029d29ebc0f4f9b28ee4474a1cfa04600d3650 100644 (file)
@@ -21,7 +21,7 @@ class NexxIE(InfoExtractor):
     _VALID_URL = r'''(?x)
                         (?:
                             https?://api\.nexx(?:\.cloud|cdn\.com)/v3/(?P<domain_id>\d+)/videos/byid/|
-                            nexx:(?P<domain_id_s>\d+)?:|
+                            nexx:(?:(?P<domain_id_s>\d+):)?|
                             https?://arc\.nexx\.cloud/api/video/
                         )
                         (?P<id>\d+)