diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-04 13:26:01 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-04 13:26:22 +0530 |
commit | 2181983a0c97c6fd3bb681c86d64699051061c1c (patch) | |
tree | 3b352353ae60cf8a889cccf89cfffc60d4db5f0d /youtube_dlc/extractor/cda.py | |
parent | e29663c644a65846125f5792be52dc27feb68297 (diff) | |
download | hypervideo-pre-2181983a0c97c6fd3bb681c86d64699051061c1c.tar.lz hypervideo-pre-2181983a0c97c6fd3bb681c86d64699051061c1c.tar.xz hypervideo-pre-2181983a0c97c6fd3bb681c86d64699051061c1c.zip |
Update to ytdl-2021.02.04.1 except youtube
Diffstat (limited to 'youtube_dlc/extractor/cda.py')
-rw-r--r-- | youtube_dlc/extractor/cda.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'(<form[^>]+action="/a/validatebirth")', + if self._html_search_regex(r'(<form[^>]+action="[^"]*/a/validatebirth[^"]*")', webpage, 'birthday validate form', default=None): webpage = self._download_age_confirm_page( url, video_id, note='Confirming age') |