From 3202fbcb8afbeca58e26a3bc99e312fbac37554c Mon Sep 17 00:00:00 2001 From: BrutuZ Date: Sat, 14 Mar 2020 02:02:10 -0300 Subject: [PATCH] Ignore potential premium DDL links Iterate over server list instead of always using first index Add a couple fallbacks --- youtube_dl/extractor/hanime.py | 61 ++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/youtube_dl/extractor/hanime.py b/youtube_dl/extractor/hanime.py index 21fcf11a1..1da197003 100644 --- a/youtube_dl/extractor/hanime.py +++ b/youtube_dl/extractor/hanime.py @@ -47,34 +47,45 @@ class HanimeIE(InfoExtractor): video_slug = self._match_id(url) page_json = self._html_search_regex(r'