]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[canvas] Add IE_DESC (closes #12478)
authorSergey M․ <dstftw@gmail.com>
Sat, 8 Apr 2017 15:45:45 +0000 (22:45 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 8 Apr 2017 15:45:45 +0000 (22:45 +0700)
youtube_dl/extractor/canvas.py

index 544c6657c12e53afee6d0e1a2916a9a47d606415..aada02917cb7911a44c1a1e4d63ec4db1c443c3b 100644 (file)
@@ -7,6 +7,7 @@ from ..utils import float_or_none
 
 
 class CanvasIE(InfoExtractor):
+    IE_DESC = 'canvas.be and een.be'
     _VALID_URL = r'https?://(?:www\.)?(?P<site_id>canvas|een)\.be/(?:[^/]+/)*(?P<id>[^/?#&]+)'
     _TESTS = [{
         'url': 'http://www.canvas.be/video/de-afspraak/najaar-2015/de-afspraak-veilt-voor-de-warmste-week',