各位大大好
我在网络上看到有人教学 如何下载某视频的教学
(http://bbs.csdn.net/topics/390361293)
于是我存成get_page.py档
接着开启cmd切到python资料夹 输入get_page.py http://v.163.com/special/
opencourse/paradigms.html
但会显示以下error message 可否请各位大大能帮忙看一下哪里出错?
C:\Python27\practice zone>get_page.py
http://v.163.com/special/opencourse/paradigms.html
Traceback (most recent call last):
File "C:\Python27\Pitera practice zone\get_page.py", line 54, in <module>
main(sys.argv)
File "C:\Python27\Pitera practice zone\get_page.py", line 51, in main
downlaod(argv[1])
File "C:\Python27\Pitera practice zone\get_page.py", line 27, in downlaod
print title.h2.string
UnicodeEncodeError: 'cp950' codec can't encode character u'\xcb' in position
0:illegal multibyte sequence
谢谢大大