dou_ban_spider icon indicating copy to clipboard operation
dou_ban_spider copied to clipboard

A Simple spider that use to crawl the douban Top 100 moive name and input all list

Results 3 dou_ban_spider issues
Sort by recently updated
recently updated
newest added

import urllib2 ModuleNotFoundError: No module named 'urllib2' 在StackOverflow上找到这个问题 https://stackoverflow.com/questions/2792650/import-error-no-module-name-urllib2 改用from urllib.request import urlopen 函数也改用urllib.urlopen()

出现UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-10: ordinal not in range(128) 应该需要加上: import sys reload(sys) sys.setdefaultencoding('utf-8')

Master/Slave这一块处理了吗?看了代码好像是没有的额...