commit 7dc9c60b4b848f4b1d38b2995c7d421c89be93c0
parent e51752754d0dfe3e6597634c0c0f65508c55bcb8
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue, 12 Jun 2018 02:05:58 +0700

[tvnet] Fix _VALID_URL

Diffstat:
Myoutube_dl/extractor/tvnet.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/tvnet.py b/youtube_dl/extractor/tvnet.py @@ -12,7 +12,7 @@ from ..utils import ( class TVNetIE(InfoExtractor): - _VALID_URL = r'https?://(?:[^/]+)\.tvnet\.gov\.vn/[^/]+/(?:\d+/)?(?P<id>[0-9]+)/' + _VALID_URL = r'https?://(?:[^/]+)\.tvnet\.gov\.vn/[^/]+/(?:\d+/)?(?P<id>\d+)(?:/|$)' _TESTS = [{ # video 'url': 'http://de.tvnet.gov.vn/video/109788/vtv1---bac-tuyet-tai-lao-cai-va-ha-giang/tin-nong-24h',