From 2181983a0c97c6fd3bb681c86d64699051061c1c Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 4 Feb 2021 13:26:01 +0530 Subject: Update to ytdl-2021.02.04.1 except youtube --- youtube_dlc/extractor/cda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube_dlc/extractor/cda.py') diff --git a/youtube_dlc/extractor/cda.py b/youtube_dlc/extractor/cda.py index d67900e62..6429454fb 100644 --- a/youtube_dlc/extractor/cda.py +++ b/youtube_dlc/extractor/cda.py @@ -96,7 +96,7 @@ class CDAIE(InfoExtractor): raise ExtractorError('This video is only available for premium users.', expected=True) need_confirm_age = False - if self._html_search_regex(r'(]+action="/a/validatebirth")', + if self._html_search_regex(r'(]+action="[^"]*/a/validatebirth[^"]*")', webpage, 'birthday validate form', default=None): webpage = self._download_age_confirm_page( url, video_id, note='Confirming age') -- cgit v1.2.3