aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/adultswim.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/adultswim.py')
-rw-r--r--yt_dlp/extractor/adultswim.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/adultswim.py b/yt_dlp/extractor/adultswim.py
index 8d1d9ac7d..c97cfc161 100644
--- a/yt_dlp/extractor/adultswim.py
+++ b/yt_dlp/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") {