Job Recruitment Website - Zhaopincom - How does #Python crawler convert Chinese characters in the website into 16 binary strings?
How does #Python crawler convert Chinese characters in the website into 16 binary strings?
Import quotation marks from urllib.parse
main_url = "/item "
Universitys = ["Beihang University", "Tsinghua", "Wuhan University", "Huazhong University of Science and Technology"].
For universities in universities:
URL = f " { main _ URL }/{ quote(university)} "
Print (url)
The results are as follows:
/item/% E5 % 8C % 97% E4 % BA % AC % E8 % 88% AA % E7 % A9 % BA % E8 % 88% AA % E5 % A4 % A9 % E5 % A4 % A7 % E5 % AD % A6
/item/% E6 % B8 % 85% E5 % 8D % 8E % E5 % A4 % A7 % E5 % A6
/item/% E6 % AD % A6 % E6 % b 1% 89% E5 % A4 % A7 % E5 % AD % A6
/item/% E5 % 8D % 8E % E4 % B8 % AD % E7 % A7 % 9 1% E6 % 8A % 80% E5 % A4 % A7 % E5 % AD % A6
- Related articles
- Is Chen Jia really so bad? How are girls treated? I heard that there is a computer observer. What kind of job is that? Does the great god know?
- I have some questions about the organizational structure of Tianjin GEA, or who are the employees of Tianjin GEA.
- Xi Antu, why is the Xinghehui Ballroom closed?
- Will there be special post teachers in Dalian, Liaoning this year?
- Consistent public welfare undertakings
- Cangzhou foot massage recruitment
- What are the biggest and most famous recruitment websites in Ukraine? It is best to provide a website address.
- How about Xinxiang Jingxi Hospital?
- Where is the address of Tangshan Le Tai Center?
- Work summary and work plan of human resources department