Browse Source

[24video] Add support for porn.24video.net (closes #23779, closes #23784)

Sergey M․ 5 years ago
parent
commit
f6052ec923
1 changed files with 4 additions and 1 deletions
  1. 4 1
      youtube_dl/extractor/twentyfourvideo.py

+ 4 - 1
youtube_dl/extractor/twentyfourvideo.py

@@ -17,7 +17,7 @@ class TwentyFourVideoIE(InfoExtractor):
     _VALID_URL = r'''(?x)
     _VALID_URL = r'''(?x)
                     https?://
                     https?://
                         (?P<host>
                         (?P<host>
-                            (?:(?:www|porno)\.)?24video\.
+                            (?:(?:www|porno?)\.)?24video\.
                             (?:net|me|xxx|sexy?|tube|adult|site|vip)
                             (?:net|me|xxx|sexy?|tube|adult|site|vip)
                         )/
                         )/
                         (?:
                         (?:
@@ -62,6 +62,9 @@ class TwentyFourVideoIE(InfoExtractor):
     }, {
     }, {
         'url': 'https://www.24video.vip/video/view/1044982',
         'url': 'https://www.24video.vip/video/view/1044982',
         'only_matching': True,
         'only_matching': True,
+    }, {
+        'url': 'https://porn.24video.net/video/2640421-vsya-takay',
+        'only_matching': True,
     }]
     }]
 
 
     def _real_extract(self, url):
     def _real_extract(self, url):