1. Pre-reptile analysis
Because to realize the translation function of Youdao translation, it is necessary to find its interface, open the review element, go to the Network Listening window (NET), view API interface.
See how the salt and sign are generated by viewing the source code of the Web page to view the translated JS file.
- View Web page source code find JS file
Find the JS file, then click on this file, jump to this source file, then select all the code, copy it down
2.Python using MD5 to encrypt strings
1. In the Youdao translation using MD5 encryption, the MD5 encryption is learned
3. Code manipulation based on python3.5
Implementing translation functions
Isn't it very simple ah! Get to go to the assembly force! Ha ha
Incoming group: 125240963 to get dozens of sets of PDFs Oh!
Use Python to write a translation tool! Then became the great God in the eyes of the learned brother!