summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-04-04 02:26:20 +0600
committerSergey M․ <dstftw@gmail.com>2016-04-04 02:26:20 +0600
commit6d4fc66bfc9bb3ed2a4f68366f372a9bedf6e708 (patch)
tree6989b36b4743f7385f3130ae031d223bb654fddc
parent23576edbfcaa3d7f0283631516c82715a85c6856 (diff)
downloadyoutube-dl-6d4fc66bfc9bb3ed2a4f68366f372a9bedf6e708.tar.gz
youtube-dl-6d4fc66bfc9bb3ed2a4f68366f372a9bedf6e708.tar.xz
youtube-dl-6d4fc66bfc9bb3ed2a4f68366f372a9bedf6e708.zip
[youtube] Add support for zwearz (Closes #9062)
-rw-r--r--youtube_dl/extractor/youtube.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 28355bf46..188066561 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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=
                          )
@@ -759,6 +760,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
             '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
             # https://github.com/rg3/youtube-dl/issues/1892,