常用的类库为lxml,BeautifulSoup,re(正则)以获取豆瓣电影正在热映的电影名为例,url=\’https://movie.douban.com/cinema/nowplaying/beijing/\’