From 81e1ddaf7857731647edda8eda515ecf48d25657 Mon Sep 17 00:00:00 2001 From: BrutuZ Date: Sat, 14 Mar 2020 16:20:07 -0300 Subject: [PATCH] Changed more parsing logic --- youtube_dl/extractor/hanime.py | 35 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/youtube_dl/extractor/hanime.py b/youtube_dl/extractor/hanime.py index 1da197003..242262d01 100644 --- a/youtube_dl/extractor/hanime.py +++ b/youtube_dl/extractor/hanime.py @@ -10,7 +10,6 @@ from ..utils import ( parse_iso8601, unified_strdate, str_or_none, - parse_duration, sanitize_url, compat_str, try_get, @@ -45,25 +44,32 @@ class HanimeIE(InfoExtractor): def _real_extract(self, url): video_slug = self._match_id(url) - page_json = self._html_search_regex(r'