[phantomjs] Fix bug in 587021cd9f (#4833)

Authored by: elyse0
This commit is contained in:
Elyse 2022-09-03 01:44:01 -05:00 committed by GitHub
parent aa824dd10b
commit 69082b38dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ def get(self, url, html=None, video_id=None, note=None, note2='Executing JS on w
'jscode': jscode,
}))
stdout = self.execute(jscode, video_id, note2)
stdout = self.execute(jscode, video_id, note=note2)
with open(self._TMP_FILES['html'].name, 'rb') as f:
html = f.read().decode('utf-8')