[youtube] Add support for zwearz (Closes #9062)
authorSergey M․ <dstftw@gmail.com>
Sun, 3 Apr 2016 20:26:20 +0000 (02:26 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 3 Apr 2016 20:26:20 +0000 (02:26 +0600)
youtube_dl/extractor/youtube.py

index 28355bf4607b76c9b75da617803ff58d248e4b82..188066561c3ebd571b5ff9d6afd4400bd3ef2f34 100644 (file)
@@ -270,7 +270,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
                          ))
                          |(?:
                             youtu\.be|                                        # just youtu.be/xxxx
-                            vid\.plus                                         # or vid.plus/xxxx
+                            vid\.plus|                                        # or vid.plus/xxxx
+                            zwearz\.com/watch|                                # or zwearz.com/watch/xxxx
                          )/
                          |(?:www\.)?cleanvideosearch\.com/media/action/yt/watch\?videoId=
                          )
@@ -758,6 +759,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
             'url': 'http://vid.plus/FlRa-iH7PGw',
             'only_matching': True,
         },
+        {
+            'url': 'http://zwearz.com/watch/9lWxNJF-ufM/electra-woman-dyna-girl-official-trailer-grace-helbig.html',
+            'only_matching': True,
+        },
         {
             # Title with JS-like syntax "};" (see https://github.com/rg3/youtube-dl/issues/7468)
             # Also tests cut-off URL expansion in video description (see