From e59d9e011a82d6f93c5362a5bf0bf17077e21565 Mon Sep 17 00:00:00 2001 From: zpzploop Date: Tue, 29 Jun 2021 22:16:56 +0900 Subject: [PATCH] [iwara] Add updater to template --- youtube_dl/extractor/iwara.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/iwara.py b/youtube_dl/extractor/iwara.py index 907d5fc8b..af98727bb 100644 --- a/youtube_dl/extractor/iwara.py +++ b/youtube_dl/extractor/iwara.py @@ -91,9 +91,12 @@ class IwaraIE(InfoExtractor): self._sort_formats(formats) + uploader = self._html_search_regex(r']+class="username"[^>]*>([^<]+)<', webpage, 'uploader') + return { 'id': video_id, 'title': title, + 'uploader': uploader, 'age_limit': age_limit, 'formats': formats, }