diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-06-12 02:05:58 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-06-12 02:05:58 +0700 |
commit | 7dc9c60b4b848f4b1d38b2995c7d421c89be93c0 (patch) | |
tree | 325f1d4d4e871b5b4fb9abce8115b690c221af6f /youtube_dl/extractor/tvnet.py | |
parent | e51752754d0dfe3e6597634c0c0f65508c55bcb8 (diff) |
[tvnet] Fix _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/tvnet.py')
-rw-r--r-- | youtube_dl/extractor/tvnet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tvnet.py b/youtube_dl/extractor/tvnet.py index 1083d2730..2b2630b91 100644 --- 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', |