diff options
author | christoph-heinrich <christoph-heinrich@users.noreply.github.com> | 2022-06-18 03:57:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 18:57:22 -0700 |
commit | e121e3cee731426f620e17939141018d09661fa2 (patch) | |
tree | e50f5f24229fd6bc464a71937e3b87303062868c /yt_dlp/extractor/openload.py | |
parent | 7e9a61258543f64113e779f2f82fe7a29827489d (diff) |
[cleanup] Minor fixes (#4096)
Authored by: christoph-heinrich
Diffstat (limited to 'yt_dlp/extractor/openload.py')
-rw-r--r-- | yt_dlp/extractor/openload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/openload.py b/yt_dlp/extractor/openload.py index d987cd927..22d7e1a84 100644 --- a/yt_dlp/extractor/openload.py +++ b/yt_dlp/extractor/openload.py @@ -216,10 +216,10 @@ class PhantomJSwrapper: [self.exe, '--ssl-protocol=any', self._TMP_FILES['script'].name], text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) if returncode: - raise ExtractorError(f'Executing JS failed\n:{stderr}') + raise ExtractorError(f'Executing JS failed:\n{stderr}') with open(self._TMP_FILES['html'].name, 'rb') as f: html = f.read().decode('utf-8') self._load_cookies() - return (html, stdout) + return html, stdout |