urls = ['http://bj.xiaozhu.com/search-duanzufang-p{}-0/'.format(number) for number in range(1,14)]  #构造出13页URL的列表数据
for url in urls:
print(url)
网络爬虫构造出URL的列表数据