1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

[docs] Consistent use of e.g. (#4643)

Authored by: Lesmiscore
This commit is contained in:
Lesmiscore
2022-08-14 21:04:13 +09:00
committed by GitHub
parent 8f53dc44a0
commit 62b58c0936
14 changed files with 128 additions and 129 deletions

View File

@ -169,7 +169,7 @@ class PhantomJSwrapper:
In most cases you don't need to add any `jscode`.
It is executed in `page.onLoadFinished`.
`saveAndExit();` is mandatory, use it instead of `phantom.exit()`
It is possible to wait for some element on the webpage, for example:
It is possible to wait for some element on the webpage, e.g.
var check = function() {
var elementFound = page.evaluate(function() {
return document.querySelector('#b.done') !== null;