Example
Required dependencies
Before you test these examples, you need to install some dependency packages
pip install webdriver-manager
pip install ddddocr
pip install --upgrade crawlistConfigure webdriver for selenium
Before using the script, you need to configure your own webdrvier.
Baidu search example
Search for "Baidu Tieba" on Baidu
Translate using Baidu Translate
Use Baidu Translate and return the translation result
Automatic problem-solving
Using '__PRE RETURN__'
Cracking verification codes
Add your own action method and use ddddocr to crack the verification code, return the cracking result, and pass it to the next action method.
'if' condition judgment
Use if to determine whether input is needed in the input box
Counter multi-layer nested loop calculation
Add your own condition method for addition and subtraction counting, and return the final result
Conduct multiple searches on Baidu
Using variables for Baidu search
Using the store to crawl web page list information
Use crawlist to crawl web page list information and store it in the store
Execute JavaScript code
Execute JavaScript code, return any type, and use built-in store and variable in combination
Last updated