diff options
author | Sergey M․ <[email protected]> | 2017-10-09 23:50:53 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2017-10-09 23:50:53 +0700 |
commit | 197224b7a4e37a6581bf1a0da18d0f67ea61a476 (patch) | |
tree | c2cd8cac66667b65610ca7dc279d0fe98c87ae50 /youtube_dl/extractor/freespeech.py | |
parent | 89923316210f8e17bb1a085278940e1c56fcff48 (diff) | |
download | youtube-dl-197224b7a4e37a6581bf1a0da18d0f67ea61a476.tar.gz youtube-dl-197224b7a4e37a6581bf1a0da18d0f67ea61a476.zip |
Fix some regexes
Diffstat (limited to 'youtube_dl/extractor/freespeech.py')
-rw-r--r-- | youtube_dl/extractor/freespeech.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/freespeech.py b/youtube_dl/extractor/freespeech.py index 0a70ca763..7fa271b51 100644 --- a/youtube_dl/extractor/freespeech.py +++ b/youtube_dl/extractor/freespeech.py @@ -27,7 +27,7 @@ class FreespeechIE(InfoExtractor): mobj = re.match(self._VALID_URL, url) title = mobj.group('title') webpage = self._download_webpage(url, title) - info_json = self._search_regex(r'jQuery.extend\(Drupal.settings, ({.*?})\);', webpage, 'info') + info_json = self._search_regex(r'jQuery\.extend\(Drupal\.settings, ({.*?})\);', webpage, 'info') info = json.loads(info_json) return { |