aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/tvnet.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-06-12 02:05:58 +0700
committerSergey M․ <dstftw@gmail.com>2018-06-12 02:05:58 +0700
commit7dc9c60b4b848f4b1d38b2995c7d421c89be93c0 (patch)
tree325f1d4d4e871b5b4fb9abce8115b690c221af6f /youtube_dl/extractor/tvnet.py
parente51752754d0dfe3e6597634c0c0f65508c55bcb8 (diff)
[tvnet] Fix _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/tvnet.py')
-rw-r--r--youtube_dl/extractor/tvnet.py2
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',