[peertube] Add support for canard.tube (#28190)
authorSirCipherz <sircipherz@mail.com>
Sun, 21 Feb 2021 16:05:33 +0000 (16:05 +0000)
committerGitHub <noreply@github.com>
Sun, 21 Feb 2021 16:05:33 +0000 (23:05 +0700)
youtube_dl/extractor/peertube.py

index c2ca71c71d3badaa942987b54dc5b8564b09bc81..32ff51653e4add61d7db4a220da5350dc7bd54b0 100644 (file)
@@ -413,7 +413,8 @@ class PeerTubeIE(InfoExtractor):
                             peertube3\.cpy\.re|
                             peertube2\.cpy\.re|
                             videos\.tcit\.fr|
-                            peertube\.cpy\.re
+                            peertube\.cpy\.re|
+                            canard\.tube
                         )'''
     _UUID_RE = r'[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}'
     _API_BASE = 'https://%s/api/v1/videos/%s/%s'