1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 14:37:50 +08:00

Update canvas.py

Added an IE_NAME and IE_DESC line to canvas.py so the supported sites would be correctly identified in https://github.com/rg3/youtube-dl/blob/master/docs/supportedsites.md
This commit is contained in:
midas02 2017-03-18 02:44:23 +01:00 committed by GitHub
parent febfe1e262
commit 75aa38a42e

View File

@ -7,6 +7,8 @@ from ..utils import float_or_none
class CanvasIE(InfoExtractor):
IE_NAME = 'VRT'
IE_DESC = 'Een.be and Canvas.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',