diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-14 15:37:17 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-14 15:37:17 +0600 |
commit | 611c1dd96efc36a788475e14cc4de64d554d28a0 (patch) | |
tree | 4ac501e07c6ab8281c22de2d0ec577561e32465c /youtube_dl/extractor/ellentv.py | |
parent | d800609c62703e4e6edd2891a8432306462e4db3 (diff) |
[refactor] Single quotes consistency
Diffstat (limited to 'youtube_dl/extractor/ellentv.py')
-rw-r--r-- | youtube_dl/extractor/ellentv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ellentv.py b/youtube_dl/extractor/ellentv.py index 476cce2d0..4c8190d68 100644 --- a/youtube_dl/extractor/ellentv.py +++ b/youtube_dl/extractor/ellentv.py @@ -72,7 +72,7 @@ class EllenTVClipsIE(InfoExtractor): def _extract_playlist(self, webpage): json_string = self._search_regex(r'playerView.addClips\(\[\{(.*?)\}\]\);', webpage, 'json') try: - return json.loads("[{" + json_string + "}]") + return json.loads('[{' + json_string + '}]') except ValueError as ve: raise ExtractorError('Failed to download JSON', cause=ve) |