aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/noco.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-17 22:16:58 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-17 22:16:58 +0600
commit7824e1f6a61e97c3c79c21db65de33a6380e29c3 (patch)
tree7026bb253edcecb8847b832f6b9b3bc0b70ac00a /youtube_dl/extractor/noco.py
parent2469a6aecbc819b87915d31dd2fb5940d84d11d2 (diff)
[noco] Modernize
Diffstat (limited to 'youtube_dl/extractor/noco.py')
-rw-r--r--youtube_dl/extractor/noco.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/noco.py b/youtube_dl/extractor/noco.py
index 63b97f170..daba2e12f 100644
--- a/youtube_dl/extractor/noco.py
+++ b/youtube_dl/extractor/noco.py
@@ -110,8 +110,7 @@ class NocoIE(InfoExtractor):
expected=True)
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
- video_id = mobj.group('id')
+ video_id = self._match_id(url)
# Timestamp adjustment offset between server time and local time
# must be calculated in order to use timestamps closest to server's