Python用正则爬取猫眼之Top100榜的电影信息

江一帆 2020-03-06 PM 1713℃ 0条 24671字 Site load time is:150 ms 百度:已收录

爬取信息的主要出处

</dd>
                <dd>
                        <i class="board-index board-index-2">2</i>
    <a href="/films/1297" title="肖申克的救赎" class="image-link" data-act="boarditem-click" data-val="{movieId:1297}">
      <img src="//s3plus.meituan.net/v1/mss_e2821d7f0cfe4ac1bf9202ecf9590e67/cdn-prod/file:5788b470/image/loading_2.e3d934bf.png" alt="" class="poster-default" />
      <img data-src="https://p0.meituan.net/movie/283292171619cdfd5b240c8fd093f1eb255670.jpg@160w_220h_1e_1c" alt="肖申克的救赎" class="board-img" />
    </a>
    <div class="board-item-main">
      <div class="board-item-content">
              <div class="movie-item-info">
        <p class="name"><a href="/films/1297" title="肖申克的救赎" data-act="boarditem-click" data-val="{movieId:1297}">肖申克的救赎</a></p>
        <p class="star">
                主演:蒂姆·罗宾斯,摩根·弗里曼,鲍勃·冈顿
        </p>
<p class="releasetime">上映时间:1994-09-10(加拿大)</p>    </div>
    <div class="movie-item-number score-num">
<p class="score"><i class="integer">9.</i><i class="fraction">5</i></p>        
    </div>

      </div>
    </div>

                </dd>
                <dd>

代码如下:

import requests
import json
import re
import time


class Spider:
    def __init__(self):
        self.url_temp = 'https://maoyan.com/board/4?offset={}'
        self.headers = {
            'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36'}

    # 1.根据地址的规律构造url_list
    def get_url_list(self):
        url_list = [self.url_temp.format(i) for i in range(0, 91, 10)]
        return url_list

    # 2.发送请求,获取响应
    def req_url_resp(self, url):
        print('start:' + url)
        response = requests.get(url, headers=self.headers)
        # print(response.text)
        return response.content.decode()

    # 3.提取数据
    def get_content_list(self, resp_content):
        content_list = []  # 用列表存储信息
        pattern = re.compile(
            '<dd>.*?board-index.*?>(\d+)</i>.*?<img.*?data-src="(.*?)".*?name".*?><a.*?>(.*?)</a>.*?star">(.*?)</p>'
            '.*?releasetime">(.*?)</p>.*?integer">(.*?)</i>.*?fraction">(.*?)</i>.*?</dd>', re.S)
        contents = re.findall(pattern, resp_content)
        for content in contents:
            item = {}
            item["id"] = content[0]
            item["img_url"] = content[1]
            item["name"] = content[2]
            item["star"] = content[3].strip()[3:]
            item["releasetime"] = content[4][5:]
            item["grade"] = content[5] + content[6] + "分"
            # print(id,name,star,releasetime,grade,img_url)
            content_list.append(item)
        return content_list

    # 4.保存数据
    def save_content(self, content_list):
        with open("猫眼Top100.txt", 'a', encoding='utf-8') as f:
            for content in content_list:
                f.write(json.dumps(content, ensure_ascii=False))
                f.write('\n')
        print('保存成功!')

    def run(self):
        # 1.根据地址的规律构造url_list
        url_list = self.get_url_list()
        # 2.发送请求,获取响应
        for url in url_list:
            time.sleep(1)
            resp_content = self.req_url_resp(url)
            # 3.提取数据
            content_list = self.get_content_list(resp_content)
            # 4.保存数据
            self.save_content(content_list)


if __name__ == '__main__':
    spider = Spider()
    spider.run()

结果如下:

{"id": "1", "img_url": "https://p0.meituan.net/movie/ce4da3e03e655b5b88ed31b5cd7896cf62472.jpg@160w_220h_1e_1c", "name": "霸王别姬", "star": "张国荣,张丰毅,巩俐", "releasetime": "1993-07-26", "grade": "9.5分"}
{"id": "2", "img_url": "https://p0.meituan.net/movie/283292171619cdfd5b240c8fd093f1eb255670.jpg@160w_220h_1e_1c", "name": "肖申克的救赎", "star": "蒂姆·罗宾斯,摩根·弗里曼,鲍勃·冈顿", "releasetime": "1994-09-10(加拿大)", "grade": "9.5分"}
{"id": "3", "img_url": "https://p1.meituan.net/movie/6bea9af4524dfbd0b668eaa7e187c3df767253.jpg@160w_220h_1e_1c", "name": "这个杀手不太冷", "star": "让·雷诺,加里·奥德曼,娜塔莉·波特曼", "releasetime": "1994-09-14(法国)", "grade": "9.5分"}
{"id": "4", "img_url": "https://p0.meituan.net/movie/289f98ceaa8a0ae737d3dc01cd05ab052213631.jpg@160w_220h_1e_1c", "name": "罗马假日", "star": "格利高里·派克,奥黛丽·赫本,埃迪·艾伯特", "releasetime": "1953-08-20(意大利)", "grade": "9.0分"}
{"id": "5", "img_url": "https://p1.meituan.net/movie/b607fba7513e7f15eab170aac1e1400d878112.jpg@160w_220h_1e_1c", "name": "泰坦尼克号", "star": "莱昂纳多·迪卡普里奥,凯特·温丝莱特,比利·赞恩", "releasetime": "1998-04-03", "grade": "9.4分"}
{"id": "6", "img_url": "https://p0.meituan.net/movie/223c3e186db3ab4ea3bb14508c709400427933.jpg@160w_220h_1e_1c", "name": "乱世佳人", "star": "费雯·丽,克拉克·盖博,奥利维娅·德哈维兰", "releasetime": "1939-12-15(美国)", "grade": "9.1分"}
{"id": "7", "img_url": "https://p0.meituan.net/movie/da64660f82b98cdc1b8a3804e69609e041108.jpg@160w_220h_1e_1c", "name": "唐伯虎点秋香", "star": "周星驰,巩俐,郑佩佩", "releasetime": "1993-07-01(中国香港)", "grade": "9.1分"}
{"id": "8", "img_url": "https://p0.meituan.net/movie/58782fa5439c25d764713f711ebecd1e201941.jpg@160w_220h_1e_1c", "name": "魂断蓝桥", "star": "费雯·丽,罗伯特·泰勒,露塞尔·沃特森", "releasetime": "1940-05-17(美国)", "grade": "9.2分"}
{"id": "9", "img_url": "https://p0.meituan.net/movie/b0d986a8bf89278afbb19f6abaef70f31206570.jpg@160w_220h_1e_1c", "name": "辛德勒的名单", "star": "连姆·尼森,拉尔夫·费因斯,本·金斯利", "releasetime": "1993-11-30(美国)", "grade": "9.2分"}
{"id": "10", "img_url": "https://p0.meituan.net/movie/1f0d671f6a37f9d7b015e4682b8b113e174332.jpg@160w_220h_1e_1c", "name": "喜剧之王", "star": "周星驰,莫文蔚,张柏芝", "releasetime": "1999-02-13(中国香港)", "grade": "9.1分"}
{"id": "11", "img_url": "https://p0.meituan.net/movie/ef6d7e040278f3d727306745e8df1af5246411.jpg@160w_220h_1e_1c", "name": "音乐之声", "star": "朱莉·安德鲁斯,克里斯托弗·普卢默,埃琳诺·帕克", "releasetime": "1965-03-02(美国)", "grade": "9.0分"}
{"id": "12", "img_url": "https://p1.meituan.net/movie/ba1ed511668402605ed369350ab779d6319397.jpg@160w_220h_1e_1c", "name": "天空之城", "star": "寺田农,鹫尾真知子,龟山助清", "releasetime": "1992-05-01", "grade": "9.0分"}
{"id": "13", "img_url": "https://p1.meituan.net/movie/14a7b337e8063e3ce05a5993ed80176b74208.jpg@160w_220h_1e_1c", "name": "大闹天宫", "star": "邱岳峰,毕克,富润生", "releasetime": "1965-12-31", "grade": "9.0分"}
{"id": "14", "img_url": "https://p0.meituan.net/movie/ae7245920d95c03765fe1615f3a1fe3865785.jpg@160w_220h_1e_1c", "name": "春光乍泄", "star": "张国荣,梁朝伟,张震", "releasetime": "1997-05-17(法国)", "grade": "9.2分"}
{"id": "15", "img_url": "https://p1.meituan.net/movie/6a964e9cee699267053bd6a4bf6f2671195394.jpg@160w_220h_1e_1c", "name": "剪刀手爱德华", "star": "约翰尼·德普,薇诺娜·瑞德,黛安·韦斯特", "releasetime": "1990-12-06(美国)", "grade": "8.8分"}
{"id": "16", "img_url": "https://p1.meituan.net/movie/ad974d3527879f00be2eec29135118163728582.jpg@160w_220h_1e_1c", "name": "黑客帝国", "star": "基努·里维斯,凯瑞-安·莫斯,劳伦斯·菲什伯恩", "releasetime": "2000-01-14", "grade": "9.0分"}
{"id": "17", "img_url": "https://p0.meituan.net/movie/932bdfbef5be3543e6b136246aeb99b8123736.jpg@160w_220h_1e_1c", "name": "指环王3:王者无敌", "star": "伊莱贾·伍德,伊恩·麦克莱恩,丽芙·泰勒", "releasetime": "2004-03-15", "grade": "9.2分"}
{"id": "18", "img_url": "https://p0.meituan.net/movie/d66b56b77b55aa3da5987b68948444c9106742.jpg@160w_220h_1e_1c", "name": "哈利·波特与魔法石", "star": "丹尼尔·雷德克里夫,鲁伯特·格林特,艾玛·沃特森", "releasetime": "2002-01-26", "grade": "9.0分"}
{"id": "19", "img_url": "https://p0.meituan.net/movie/b05b94b28eca53f325ae8d807fcd4ce01798036.jpg@160w_220h_1e_1c", "name": "加勒比海盗", "star": "约翰尼·德普,凯拉·奈特莉,奥兰多·布鲁姆", "releasetime": "2003-11-21", "grade": "8.9分"}
{"id": "20", "img_url": "https://p0.meituan.net/movie/8959888ee0c399b0fe53a714bc8a5a17460048.jpg@160w_220h_1e_1c", "name": "楚门的世界", "star": "金·凯瑞,劳拉·琳妮,诺亚·艾默里奇", "releasetime": "1998(罗马尼亚)", "grade": "8.9分"}
{"id": "21", "img_url": "https://p0.meituan.net/movie/bb1dee5e0b25889a2410211c1d5010ae190824.jpg@160w_220h_1e_1c", "name": "教父2", "star": "阿尔·帕西诺,罗伯特·德尼罗,黛安·基顿", "releasetime": "1974-12-12(美国)", "grade": "9.0分"}
{"id": "22", "img_url": "https://p0.meituan.net/movie/606de8f394d40dbcbb9b87943fec71a2130408.jpg@160w_220h_1e_1c", "name": "无间道", "star": "刘德华,梁朝伟,黄秋生", "releasetime": "2003-09-05", "grade": "9.1分"}
{"id": "23", "img_url": "https://p0.meituan.net/movie/09658109acfea0e248a63932337d8e6a4268980.jpg@160w_220h_1e_1c", "name": "蝙蝠侠:黑暗骑士", "star": "克里斯蒂安·贝尔,希斯·莱杰,阿伦·伊克哈特", "releasetime": "2008-07-14(阿根廷)", "grade": "9.3分"}
{"id": "24", "img_url": "https://p0.meituan.net/movie/86c5190ba1d1236093c13f2fe9ed8dd4150050.jpg@160w_220h_1e_1c", "name": "射雕英雄传之东成西就", "star": "张国荣,梁朝伟,张学友", "releasetime": "1993-02-05(中国香港)", "grade": "8.9分"}
{"id": "25", "img_url": "https://p1.meituan.net/movie/dd08154878aac7c8c649fe3eeb8ccd0a2498277.jpg@160w_220h_1e_1c", "name": "指环王1:护戒使者", "star": "伊莱贾·伍德,伊恩·麦克莱恩,丽芙·泰勒", "releasetime": "2002-04-04", "grade": "9.0分"}
{"id": "26", "img_url": "https://p0.meituan.net/movie/02bb9fd161c05bad6089133098efcdb5546589.jpg@160w_220h_1e_1c", "name": "指环王2:双塔奇兵", "star": "伊莱贾·伍德,伊恩·麦克莱恩,丽芙·泰勒", "releasetime": "2003-04-25", "grade": "9.1分"}
{"id": "27", "img_url": "https://p0.meituan.net/movie/76fc92cfa6c8f2959431b8aa604ef7ae126414.jpg@160w_220h_1e_1c", "name": "天堂电影院", "star": "菲利浦·诺瓦雷,赛尔乔·卡斯特利托,蒂兹亚娜·罗达托", "releasetime": "1988-11-17(意大利)", "grade": "9.2分"}
{"id": "28", "img_url": "https://p0.meituan.net/movie/267dd2483f0fb57081474c00fbea38451415571.jpg@160w_220h_1e_1c", "name": "机器人总动员", "star": "本·贝尔特,艾丽莎·奈特,杰夫·格尔林", "releasetime": "2008-06-27(美国)", "grade": "9.3分"}
{"id": "29", "img_url": "https://p0.meituan.net/movie/27b76fe6cf3903f3d74963f70786001e1438406.jpg@160w_220h_1e_1c", "name": "狮子王", "star": "马修·布罗德里克,尼基塔·卡兰姆,詹姆斯·厄尔·琼斯", "releasetime": "1995-07-15", "grade": "8.8分"}
{"id": "30", "img_url": "https://p0.meituan.net/movie/4c41068ef7608c1d4fbfbe6016e589f7204391.jpg@160w_220h_1e_1c", "name": "活着", "star": "葛优,巩俐,牛犇", "releasetime": "1994-05-17(法国)", "grade": "9.0分"}
{"id": "31", "img_url": "https://p1.meituan.net/movie/a2a287c77415dc1f85b04d288f7d63ab1089754.jpg@160w_220h_1e_1c", "name": "拯救大兵瑞恩", "star": "汤姆·汉克斯,马特·达蒙,汤姆·塞兹摩尔", "releasetime": "1998-11-13", "grade": "8.9分"}
{"id": "32", "img_url": "https://p0.meituan.net/movie/5f0a709378d6b567807aa9685610f818282136.jpg@160w_220h_1e_1c", "name": "忠犬八公的故事", "star": "Forest,理查·基尔,琼·艾伦", "releasetime": "2009-06-13(美国)", "grade": "9.3分"}
{"id": "33", "img_url": "https://p1.meituan.net/movie/d40efe1183f29d5900f5c60be3c8a89d339225.jpg@160w_220h_1e_1c", "name": "盗梦空间", "star": "莱昂纳多·迪卡普里奥,渡边谦,约瑟夫·高登-莱维特", "releasetime": "2010-09-01", "grade": "9.2分"}
{"id": "34", "img_url": "https://p0.meituan.net/movie/0127b451d5b8f0679c6f81c8ed414bb2432442.jpg@160w_220h_1e_1c", "name": "哈尔的移动城堡", "star": "倍赏千惠子,木村拓哉,美轮明宏", "releasetime": "2004-09-05(意大利)", "grade": "8.9分"}
{"id": "35", "img_url": "https://p1.meituan.net/movie/e540384dc6c9f63bdb27cc554588a77f44305.jpg@160w_220h_1e_1c", "name": "阿凡达", "star": "萨姆·沃辛顿,佐伊·索尔达娜,米歇尔·罗德里格兹", "releasetime": "2010-01-04", "grade": "9.0分"}
{"id": "36", "img_url": "https://p1.meituan.net/movie/bc022b86345c643ca21d759166f77a553679589.jpg@160w_220h_1e_1c", "name": "疯狂原始人", "star": "尼古拉斯·凯奇,艾玛·斯通,瑞安·雷诺兹", "releasetime": "2013-04-20", "grade": "9.5分"}
{"id": "37", "img_url": "https://p0.meituan.net/movie/b3defc07dfaa1b6f5b74852ce38a3f8f242792.jpg@160w_220h_1e_1c", "name": "搏击俱乐部", "star": "爱德华·哈里森·诺顿,布拉德·皮特,海伦娜·伯翰·卡特", "releasetime": "1999-09-10(意大利)", "grade": "8.8分"}
{"id": "38", "img_url": "https://p0.meituan.net/movie/a08f65e6cb50fab32df5da69ff116f593095363.jpg@160w_220h_1e_1c", "name": "幽灵公主", "star": "松田洋治,石田百合子,田中裕子", "releasetime": "1998-05-01", "grade": "8.9分"}
{"id": "39", "img_url": "https://p0.meituan.net/movie/df15efd261060d3094a73ef679888d4f238149.jpg@160w_220h_1e_1c", "name": "十二怒汉", "star": "亨利·方达,李·科布,马丁·鲍尔萨姆", "releasetime": "1957-04-13(美国)", "grade": "9.1分"}
{"id": "40", "img_url": "https://p1.meituan.net/movie/06ec3c1c647942b1e40bca84036014e9490863.jpg@160w_220h_1e_1c", "name": "V字仇杀队", "star": "娜塔莉·波特曼,雨果·维文,斯蒂芬·瑞", "releasetime": "2005-12-11(美国)", "grade": "8.8分"}
{"id": "41", "img_url": "https://p1.meituan.net/movie/7d1d85610651dbe1c8687781a87d1008184950.jpg@160w_220h_1e_1c", "name": "当幸福来敲门", "star": "威尔·史密斯,贾登·史密斯,坦迪·牛顿", "releasetime": "2008-01-17", "grade": "8.9分"}
{"id": "42", "img_url": "https://p0.meituan.net/movie/70de97ebb6b5251ecb7c3f6d7a782a7f189340.jpg@160w_220h_1e_1c", "name": "放牛班的春天", "star": "热拉尔·朱尼奥,让-巴蒂斯特·莫尼耶,玛丽·布奈尔", "releasetime": "2004-10-16", "grade": "8.8分"}
{"id": "43", "img_url": "https://p0.meituan.net/movie/396266d8b711958841b3536a3fa7b868211445.jpg@160w_220h_1e_1c", "name": "大话西游之月光宝盒", "star": "周星驰,莫文蔚,吴孟达", "releasetime": "2014-10-24", "grade": "9.6分"}
{"id": "44", "img_url": "https://p0.meituan.net/movie/4f9638ba234c3fb673f23a09968db875371576.jpg@160w_220h_1e_1c", "name": "风之谷", "star": "岛本须美,永井一郎,坂本千夏", "releasetime": "1992-05", "grade": "8.8分"}
{"id": "45", "img_url": "https://p1.meituan.net/movie/21b9211eb1094af360842472018db634286646.jpg@160w_220h_1e_1c", "name": "末代皇帝", "star": "尊龙,陈冲,彼得·奥图尔", "releasetime": "1987-10-23", "grade": "8.8分"}
{"id": "46", "img_url": "https://p1.meituan.net/movie/8d7b0b902afd4ec1a3dd7a9c6149463c187734.jpg@160w_220h_1e_1c", "name": "闻香识女人", "star": "阿尔·帕西诺,克里斯·奥唐纳,加布里埃尔·安瓦尔", "releasetime": "1992-12-23(美国)", "grade": "8.8分"}
{"id": "47", "img_url": "https://p1.meituan.net/movie/ca4a128a5a54d5b5e35ceba622636c831810197.jpg@160w_220h_1e_1c", "name": "三傻大闹宝莱坞", "star": "阿米尔·汗,黄渤,卡琳娜·卡普", "releasetime": "2011-12-08", "grade": "9.1分"}
{"id": "48", "img_url": "https://p1.meituan.net/movie/f8e9d5a90224746d15dfdbd53d4fae3d209420.jpg@160w_220h_1e_1c", "name": "勇敢的心", "star": "梅尔·吉布森,苏菲·玛索,帕特里克·麦高汉", "releasetime": "1995-05-18(美国)", "grade": "8.8分"}
{"id": "49", "img_url": "https://p0.meituan.net/movie/845ce32778a1b3f258de089f91a3979b5766154.jpg@160w_220h_1e_1c", "name": "速度与激情5", "star": "范·迪塞尔,保罗·沃克,道恩·强森", "releasetime": "2011-05-12", "grade": "9.2分"}
{"id": "50", "img_url": "https://p0.meituan.net/movie/34998e31c6d07475f1add6b8b16fd21d192579.jpg@160w_220h_1e_1c", "name": "少年派的奇幻漂流", "star": "苏拉·沙玛,伊尔凡·可汗,塔布", "releasetime": "2012-11-22", "grade": "9.1分"}
{"id": "51", "img_url": "https://p0.meituan.net/movie/2e383b5f5f306f10f9f26d9f1c28cf1d825537.jpg@160w_220h_1e_1c", "name": "黑客帝国3:矩阵革命", "star": "基努·里维斯,雨果·维文,凯瑞-安·莫斯", "releasetime": "2003-11-05", "grade": "8.8分"}
{"id": "52", "img_url": "https://p0.meituan.net/movie/f9356a376358f1576da3263d998eca7a94624.jpg@160w_220h_1e_1c", "name": "飞屋环游记", "star": "爱德华·阿斯纳,乔丹·长井,鲍勃·彼德森", "releasetime": "2009-08-04", "grade": "8.9分"}
{"id": "53", "img_url": "https://p0.meituan.net/movie/b0d97e4158b47d653d7a81d66f7dd3092146907.jpg@160w_220h_1e_1c", "name": "驯龙高手", "star": "杰伊·巴鲁切尔,杰拉德·巴特勒,亚美莉卡·费雷拉", "releasetime": "2010-05-14", "grade": "8.9分"}
{"id": "54", "img_url": "https://p0.meituan.net/movie/15f1ac49b6d1ff7b71207672993ed6901536456.jpg@160w_220h_1e_1c", "name": "怦然心动", "star": "玛德琳·卡罗尔,卡兰·麦克奥利菲,艾丹·奎因", "releasetime": "2010-07-26(美国)", "grade": "8.9分"}
{"id": "55", "img_url": "https://p0.meituan.net/movie/e71affe126eeb4f8bfcc738cbddeebc8288766.jpg@160w_220h_1e_1c", "name": "断背山", "star": "希斯·莱杰,杰克·吉伦哈尔,米歇尔·威廉姆斯", "releasetime": "2005-09-02(意大利)", "grade": "8.9分"}
{"id": "56", "img_url": "https://p0.meituan.net/movie/85c2bfba6025bfbfb53291ae5924c215308805.jpg@160w_220h_1e_1c", "name": "神偷奶爸", "star": "史蒂夫·卡瑞尔,杰森·席格尔,拉塞尔·布兰德", "releasetime": "2010-06-20(俄罗斯)", "grade": "8.9分"}
{"id": "57", "img_url": "https://p0.meituan.net/movie/83df1c541e6e0696e67ce7da81cb1e1a251258.jpg@160w_220h_1e_1c", "name": "致命魔术", "star": "休·杰克曼,克里斯蒂安·贝尔,迈克尔·凯恩", "releasetime": "2006-10-17(意大利)", "grade": "8.8分"}
{"id": "58", "img_url": "https://p1.meituan.net/movie/70a574550c4bb928dcc6a40641294785150838.jpg@160w_220h_1e_1c", "name": "无敌破坏王", "star": "约翰·C·赖利,萨拉·西尔弗曼,简·林奇", "releasetime": "2012-11-06", "grade": "9.1分"}
{"id": "59", "img_url": "https://p0.meituan.net/movie/34f9202c5e823f490ffec4c69d5d0028137395.jpg@160w_220h_1e_1c", "name": "鬼子来了", "star": "姜文,姜宏波,陈强", "releasetime": "2000-05-13(法国)", "grade": "8.9分"}
{"id": "60", "img_url": "https://p0.meituan.net/movie/7b7d1f8aa36d7a15463ce6942708a1a7265296.jpg@160w_220h_1e_1c", "name": "美丽心灵", "star": "罗素·克洛,詹妮弗·康纳利,艾德·哈里斯", "releasetime": "2001-12-13(美国)", "grade": "8.8分"}
{"id": "61", "img_url": "https://p0.meituan.net/movie/f7f4b4099773268f8290ed033f49dc01377512.jpg@160w_220h_1e_1c", "name": "蝙蝠侠:黑暗骑士崛起", "star": "克里斯蒂安·贝尔,迈克尔·凯恩,加里·奥德曼", "releasetime": "2012-08-27", "grade": "8.9分"}
{"id": "62", "img_url": "https://p1.meituan.net/movie/0b0d45b58946078dd24d4945dd6be3b51329411.jpg@160w_220h_1e_1c", "name": "甜蜜蜜", "star": "黎明,张曼玉,曾志伟", "releasetime": "2015-02-13", "grade": "9.2分"}
{"id": "63", "img_url": "https://p1.meituan.net/movie/bb0eca029cd25329776a4549b3fbe262924727.jpg@160w_220h_1e_1c", "name": "哈利·波特与死亡圣器(下)", "star": "丹尼尔·雷德克里夫,鲁伯特·格林特,艾玛·沃特森", "releasetime": "2011-08-04", "grade": "9.0分"}
{"id": "64", "img_url": "https://p1.meituan.net/movie/96d98200d2afb4b87ff189f9c15b6545568339.jpg@160w_220h_1e_1c", "name": "倩女幽魂", "star": "张国荣,王祖贤,午马", "releasetime": "2011-04-30", "grade": "9.2分"}
{"id": "65", "img_url": "https://p0.meituan.net/movie/2526f77c650bf7cf3d5ee2dccdeac332244951.jpg@160w_220h_1e_1c", "name": "本杰明·巴顿奇事", "star": "布拉德·皮特,凯特·布兰切特,塔拉吉·P·汉森", "releasetime": "2008-12-25(美国)", "grade": "8.8分"}
{"id": "66", "img_url": "https://p0.meituan.net/movie/bcbe59fc51580317adf94537a61a1a26142090.jpg@160w_220h_1e_1c", "name": "钢琴家", "star": "艾德里安·布洛迪,艾米莉娅·福克斯,米哈乌·热布罗夫斯基", "releasetime": "2002-05-24(法国)", "grade": "8.8分"}
{"id": "67", "img_url": "https://p1.meituan.net/movie/1e700e53e4fe29dd5942381bb353c8532239179.jpg@160w_220h_1e_1c", "name": "触不可及", "star": "弗朗索瓦·克鲁塞,奥玛·希,安娜·勒尼", "releasetime": "2011-11-02(法国)", "grade": "9.1分"}
{"id": "68", "img_url": "https://p1.meituan.net/movie/7833126c8c21a11571bb52fbdece0acb811449.jpg@160w_220h_1e_1c", "name": "新龙门客栈", "star": "张曼玉,梁家辉,甄子丹", "releasetime": "2012-02-24", "grade": "8.8分"}
{"id": "69", "img_url": "https://p1.meituan.net/moviemachine/508056769092059fe43a611b949f27d14863831.jpg@160w_220h_1e_1c", "name": "大话西游之大圣娶亲", "star": "周星驰,朱茵,莫文蔚", "releasetime": "2014-10-24", "grade": "8.8分"}
{"id": "70", "img_url": "https://p1.meituan.net/movie/05bc2f0ccf97aacfa64fcac4f237cf8082385.jpg@160w_220h_1e_1c", "name": "初恋这件小事", "star": "马里奥·毛瑞尔,平采娜·乐维瑟派布恩,阿查拉那·阿瑞亚卫考", "releasetime": "2012-06-05", "grade": "8.8分"}
{"id": "71", "img_url": "https://p1.meituan.net/movie/2a0783b4fd95566568f24adfad2181bb5392280.jpg@160w_220h_1e_1c", "name": "熔炉", "star": "孔刘,郑有美,金智英", "releasetime": "2011-09-22(韩国)", "grade": "8.8分"}
{"id": "72", "img_url": "https://p1.meituan.net/movie/135c612860fae899df2220149664d97a173555.jpg@160w_220h_1e_1c", "name": "小鞋子", "star": "默罕默德·阿米尔·纳吉,Kamal Mirkarimi,Behzad Rafi", "releasetime": "1997(伊朗)", "grade": "9.0分"}
{"id": "73", "img_url": "https://p0.meituan.net/movie/19653e8af59cf473cd40f9ccc0658d93692304.jpg@160w_220h_1e_1c", "name": "素媛", "star": "李来,薛耿求,严志媛", "releasetime": "2013-10-02(韩国)", "grade": "9.0分"}
{"id": "74", "img_url": "https://p1.meituan.net/movie/4c55f3bf5fa9660db3cb7014651a0950267034.jpg@160w_220h_1e_1c", "name": "萤火之森", "star": "内山昂辉,佐仓绫音,后藤弘树", "releasetime": "2011-09-17(日本)", "grade": "9.0分"}
{"id": "75", "img_url": "https://p0.meituan.net/movie/1199dc6273680f175fd9b06c9c36d08a219658.jpg@160w_220h_1e_1c", "name": "教父", "star": "马龙·白兰度,阿尔·帕西诺,詹姆斯·肯恩", "releasetime": "2015-04-18", "grade": "9.3分"}
{"id": "76", "img_url": "https://p1.meituan.net/movie/d5970e36c8868a4b746c80f3b3f8a404174615.jpg@160w_220h_1e_1c", "name": "穿条纹睡衣的男孩", "star": "阿沙·巴特菲尔德,维拉·法梅加,大卫·休里斯", "releasetime": "2008-08-28(英国)", "grade": "9.0分"}
{"id": "77", "img_url": "https://p0.meituan.net/movie/6d8491386d07cda91967a6fbbd0d0788294693.jpg@160w_220h_1e_1c", "name": "时空恋旅人", "star": "瑞秋·麦克亚当斯,多姆纳尔·格里森,比尔·奈伊", "releasetime": "2013-09-04(英国)", "grade": "8.9分"}
{"id": "78", "img_url": "https://p0.meituan.net/movie/3985eaf3858bea0f2a3d966bf7ee2103178217.jpg@160w_220h_1e_1c", "name": "窃听风暴", "star": "乌尔里希·穆埃,塞巴斯蒂安·科赫,马蒂娜·格德克", "releasetime": "2006-03-23(德国)", "grade": "9.0分"}
{"id": "79", "img_url": "https://p1.meituan.net/movie/a53a0200eba15ba483c905c872db9bf4331099.jpg@160w_220h_1e_1c", "name": "7号房的礼物", "star": "柳承龙,郑镇荣,朴信惠", "releasetime": "2013-01-23(韩国)", "grade": "8.9分"}
{"id": "80", "img_url": "https://p1.meituan.net/movie/640cc32445df972b066c9a04b194da141104515.jpg@160w_220h_1e_1c", "name": "借东西的小人阿莉埃蒂", "star": "志田未来,神木隆之介,大竹忍", "releasetime": "2010-07-17(日本)", "grade": "8.8分"}
{"id": "81", "img_url": "https://p0.meituan.net/movie/1da0af2570fe697d38c4a37fdfded19b254936.jpg@160w_220h_1e_1c", "name": "恐怖直播", "star": "河正宇,李璟荣,李大为", "releasetime": "2013-07-31(韩国)", "grade": "8.8分"}
{"id": "82", "img_url": "https://p0.meituan.net/movie/3e5f5f3aa4b7e5576521e26c2c7c894d253975.jpg@160w_220h_1e_1c", "name": "英雄本色", "star": "狄龙,张国荣,周润发", "releasetime": "2017-11-17", "grade": "9.2分"}
{"id": "83", "img_url": "https://p0.meituan.net/movie/eb2ea56996f21e7fb47b1a0736c7f177258901.jpg@160w_220h_1e_1c", "name": "海豚湾", "star": "里克·奥巴瑞,路易·西霍尤斯,哈迪·琼斯", "releasetime": "2009-07-31(美国)", "grade": "8.9分"}
{"id": "84", "img_url": "https://p0.meituan.net/movie/2d42e00d7ee59ff5bd574f93b8558aa726665.jpg@160w_220h_1e_1c", "name": "忠犬八公物语", "star": "仲代达矢,春川真澄,井川比佐志", "releasetime": "1987-08-01(日本)", "grade": "9.0分"}
{"id": "85", "img_url": "https://p0.meituan.net/movie/1433d81b10d116239dbbf02a06ac3c19265682.jpg@160w_220h_1e_1c", "name": "辩护人", "star": "宋康昊,郭度沅,吴达洙", "releasetime": "2013-12-18(韩国)", "grade": "8.8分"}
{"id": "86", "img_url": "https://p1.meituan.net/movie/b553d13f30100db731ab6cf45668e52d94703.jpg@160w_220h_1e_1c", "name": "上帝之城", "star": "亚历桑德雷·罗德里格斯,艾莉丝·布拉加,莱安德鲁·菲尔米诺", "releasetime": "2002(俄罗斯)", "grade": "8.9分"}
{"id": "87", "img_url": "https://p1.meituan.net/movie/30310858fdab34c7a17cfd7ec8ad8bfc112201.jpg@160w_220h_1e_1c", "name": "完美的世界", "star": "凯文·科斯特纳,克林特·伊斯特伍德,T·J·劳瑟", "releasetime": "1993-11-24(美国)", "grade": "8.9分"}
{"id": "88", "img_url": "https://p1.meituan.net/movie/92198a6fc8c3f5d13aa1bdf203572c0f99438.jpg@160w_220h_1e_1c", "name": "美国往事", "star": "罗伯特·德尼罗,詹姆斯·伍兹,伊丽莎白·麦戈文", "releasetime": "2015-04-23", "grade": "9.1分"}
{"id": "89", "img_url": "https://p1.meituan.net/movie/4ffca83fd972f71e291f8ea8d78a4b58594878.jpg@160w_220h_1e_1c", "name": "七武士", "star": "三船敏郎,志村乔,千秋实", "releasetime": "1954-04-26(日本)", "grade": "9.1分"}
{"id": "90", "img_url": "https://p0.meituan.net/movie/6cb23356f9d8e0b506349561c633310d102189.jpg@160w_220h_1e_1c", "name": "一一", "star": "吴念真,金燕玲,李凯莉", "releasetime": "2000-05-15(法国)", "grade": "8.9分"}
{"id": "91", "img_url": "https://p0.meituan.net/movie/c304c687e287c7c2f9e22cf78257872d277201.jpg@160w_220h_1e_1c", "name": "龙猫", "star": "秦岚,糸井重里,岛本须美", "releasetime": "2018-12-14", "grade": "9.1分"}
{"id": "92", "img_url": "https://p0.meituan.net/movie/de1142a5dceb901eb939eb0bcfc2f88470909.jpg@160w_220h_1e_1c", "name": "爱·回家", "star": "俞承豪,金艺芬,童孝熙", "releasetime": "2002-04-05(韩国)", "grade": "9.0分"}
{"id": "93", "img_url": "https://p0.meituan.net/movie/85215b28d568ea8e2c97766edd95f890210522.jpg@160w_220h_1e_1c", "name": "阿飞正传", "star": "张国荣,张曼玉,刘德华", "releasetime": "2018-06-25", "grade": "8.8分"}
{"id": "94", "img_url": "https://p1.meituan.net/movie/ed50b58bf636d207c56989872a91f4cf305138.jpg@160w_220h_1e_1c", "name": "我爱你", "star": "宋在浩,李顺才,尹秀晶", "releasetime": "2011-02-17(韩国)", "grade": "9.0分"}
{"id": "95", "img_url": "https://p1.meituan.net/movie/a19a7f64a10e133b68de87d2f3bc46f3111417.jpg@160w_220h_1e_1c", "name": "海洋", "star": "雅克·贝汉,姜文,兰斯洛特·佩林", "releasetime": "2011-08-12", "grade": "8.9分"}
{"id": "96", "img_url": "https://p0.meituan.net/movie/cd18ed2c5cda9e71e17e5e6ef61ced172912303.jpg@160w_220h_1e_1c", "name": "黄金三镖客", "star": "克林特·伊斯特伍德,李·范·克里夫,埃里·瓦拉赫", "releasetime": "1966-12-23(意大利)", "grade": "8.9分"}
{"id": "97", "img_url": "https://p1.meituan.net/movie/a1634f4e49c8517ae0a3e4adcac6b0dc43994.jpg@160w_220h_1e_1c", "name": "迁徙的鸟", "star": "雅克·贝汉,Philippe Labro", "releasetime": "2001-12-12(法国)", "grade": "9.1分"}
{"id": "98", "img_url": "https://p0.meituan.net/movie/30b20139e68c46d02e0893277d633b701292458.jpg@160w_220h_1e_1c", "name": "千与千寻", "star": "柊瑠美,周冬雨,入野自由", "releasetime": "2019-06-21", "grade": "9.3分"}
{"id": "99", "img_url": "https://p0.meituan.net/movie/609e45bd40346eb8b927381be8fb27a61760914.jpg@160w_220h_1e_1c", "name": "海上钢琴师", "star": "蒂姆·罗斯,比尔·努恩,克兰伦斯·威廉姆斯三世", "releasetime": "2019-11-15", "grade": "9.3分"}
{"id": "100", "img_url": "https://p1.meituan.net/movie/580d81a2c78bf204f45323ddb4244b6c6821175.jpg@160w_220h_1e_1c", "name": "美丽人生", "star": "罗伯托·贝尼尼,尼可莱塔·布拉斯基,乔治·坎塔里尼", "releasetime": "2020-01-03", "grade": "9.3分"}
标签: 爬虫, 正则

本文最后更新于:2020-03-06 22:02,可能因经年累月而与现状有所差异。

非特殊说明,本博所有文章均为博主原创。

评论啦~


召唤看板娘