diff options
author | Ales Jirasek <schunkac@gmail.com> | 2018-10-10 23:47:21 +0200 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-02-08 00:43:26 +0700 |
commit | 22f5f5c6fcd2d7f0c9f1ff3019fe0b957b771f44 (patch) | |
tree | 51375dcaa12e82365e44d7849c7d0086a4e6ca9b /youtube_dl/utils.py | |
parent | 49bd993fd9adbcf6b5c11a7ec11c2b4a552e49c5 (diff) |
[malltv] Add extractor (closes #18058)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index d0cb65814..f5a0bb4b0 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -184,7 +184,7 @@ DATE_FORMATS_MONTH_FIRST.extend([ ]) PACKED_CODES_RE = r"}\('(.+)',(\d+),(\d+),'([^']+)'\.split\('\|'\)" -JSON_LD_RE = r'(?is)<script[^>]+type=(["\'])application/ld\+json\1[^>]*>(?P<json_ld>.+?)</script>' +JSON_LD_RE = r'(?is)<script[^>]+type=(["\']?)application/ld\+json\1[^>]*>(?P<json_ld>.+?)</script>' def preferredencoding(): |