```python
import urllib.request
import urllib.parse
from lxml import etree
def creat_request(page):
headers={
'User-Agent':'....'
}
url='https://movie.douban.com/j/chart/top_list?type=24&interval_id=100%3A90&action=&'
data={
'start':(page-1)*20,
'limit':20
}
data = urllib.parse.urlencode(data)
url=url+data
request=urllib.request.Request(url=url,headers=headers)
return request
def get_connent(request):
response=urllib.request.urlopen(request)
connent=response.read().decode('utf-8')
return connent
def download(connect):
tree=etree.HTML(connect)
film_name=tree.xpath('//div[@id="content"]//span[@class]')
actor_list=tree.xpath('//*[@id="content"]//div[@class="movie-crew"]')
communite_sum=tree.xpath('//*[@id="content"]//span[@class="comment-num"]')
print(tree.xpath("//div[@class='info']"))
if __name__ == '__main__':
start_page=int(input('start_page:'))
last_page=int(input('last_page:'))
for page in range(start_page,last_page+1):
request=creat_request(page)
connect=get_connent(request)
download(connect)
print('下载完成')
```