aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/adultswim.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/adultswim.py')
-rw-r--r--hypervideo_dl/extractor/adultswim.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/adultswim.py b/hypervideo_dl/extractor/adultswim.py
index 8d1d9ac..c97cfc1 100644
--- a/hypervideo_dl/extractor/adultswim.py
+++ b/hypervideo_dl/extractor/adultswim.py
@@ -2,7 +2,6 @@
from __future__ import unicode_literals
import json
-import re
from .turner import TurnerBaseIE
from ..utils import (
@@ -89,7 +88,7 @@ class AdultSwimIE(TurnerBaseIE):
}]
def _real_extract(self, url):
- show_path, episode_path = re.match(self._VALID_URL, url).groups()
+ show_path, episode_path = self._match_valid_url(url).groups()
display_id = episode_path or show_path
query = '''query {
getShowBySlug(slug:"%s") {