1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-21 17:51:51 +00:00

[canvas] Add IE_DESC (closes #12478)

This commit is contained in:
Sergey M․ 2017-04-08 22:45:45 +07:00
parent ca8fca9d9d
commit 41b263ac8a
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View 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',