- Python Web Scraping Cookbook
- Michael Heydt
- 82字
- 2021-06-30 18:44:04
Getting ready
We will read a file named unicode.html from our local web server, located at http://localhost:8080/unicode.html. This file is UTF-8 encoded and contains several sets of characters in different parts of the encoding space. For example, the page looks as follows in your browser:

The Page in the Browser
Using an editor that supports UTF-8, we can see how the Cyrillic characters are rendered in the editor:

The HTML in an Editor
Code for the sample is in 02/06_unicode.py.
推薦閱讀
- 廣電5G從入門到精通
- 面向物聯(lián)網(wǎng)的CC2530與傳感器應(yīng)用開發(fā)
- 網(wǎng)管員典藏書架:網(wǎng)絡(luò)管理與運維實戰(zhàn)寶典
- Building Django 2.0 Web Applications
- 工業(yè)控制網(wǎng)絡(luò)安全技術(shù)與實踐
- 5G承載網(wǎng)網(wǎng)絡(luò)規(guī)劃與組網(wǎng)設(shè)計
- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- 無人機通信
- 計算機網(wǎng)絡(luò)工程實用教程(第2版)
- VMware NSX網(wǎng)絡(luò)虛擬化入門
- 端到端QoS網(wǎng)絡(luò)設(shè)計
- AIoT應(yīng)用開發(fā)與實踐
- Dart Cookbook
- 商業(yè)的本質(zhì)和互聯(lián)網(wǎng)
- 人際網(wǎng)絡(luò)