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

[tvnet] Fix _VALID_URL

This commit is contained in:
Sergey M․ 2018-06-12 02:05:58 +07:00
parent e51752754d
commit 7dc9c60b4b
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -12,7 +12,7 @@ from ..utils import (
class TVNetIE(InfoExtractor): 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 = [{ _TESTS = [{
# video # video
'url': 'http://de.tvnet.gov.vn/video/109788/vtv1---bac-tuyet-tai-lao-cai-va-ha-giang/tin-nong-24h', 'url': 'http://de.tvnet.gov.vn/video/109788/vtv1---bac-tuyet-tai-lao-cai-va-ha-giang/tin-nong-24h',