diff options
author | Evan Spensley <94762716+evansp@users.noreply.github.com> | 2022-06-14 09:33:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 06:33:29 -0700 |
commit | 145c5a83a80536b781fd043016bd27c91c760667 (patch) | |
tree | 681bd0ec84cf2208d0bb6fe9f0ca7ab9fccc6a69 /yt_dlp/extractor/common.py | |
parent | 2cb19820430aa8f7fe8cef11203d9f98388ef8ab (diff) | |
download | hypervideo-pre-145c5a83a80536b781fd043016bd27c91c760667.tar.lz hypervideo-pre-145c5a83a80536b781fd043016bd27c91c760667.tar.xz hypervideo-pre-145c5a83a80536b781fd043016bd27c91c760667.zip |
[extractor/GoogleDrive] Add folder extractor (#4009)
Closes #3388
Authored by: evansp, pukkandan
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 7adabf6f9..080d682eb 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -1188,7 +1188,7 @@ class InfoExtractor: self.report_warning('unable to extract %s' % _name + bug_reports_message()) return None - def _search_json(self, start_pattern, string, name, video_id, *, end_pattern='', contains_pattern='.+', fatal=True, **kwargs): + def _search_json(self, start_pattern, string, name, video_id, *, end_pattern='', contains_pattern='(?s:.+)', fatal=True, **kwargs): """Searches string for the JSON object specified by start_pattern""" # NB: end_pattern is only used to reduce the size of the initial match return self._parse_json( |