代码:

1
{"_id":"doubantop250","startUrl":["https://movie.douban.com/top250?start=[0-225:25]&filter="],"selectors":[{"id":"MovieCard","type":"SelectorElement","parentSelectors":["_root"],"selector":"div.item","multiple":true,"delay":0},{"id":"num","type":"SelectorText","parentSelectors":["MovieCard"],"selector":"em","multiple":false,"regex":"","delay":0},{"id":"name","type":"SelectorText","parentSelectors":["MovieCard"],"selector":"span.title:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"link","type":"SelectorLink","parentSelectors":["MovieCard"],"selector":".hd a","multiple":false,"delay":0},{"id":"img","type":"SelectorImage","parentSelectors":["MovieCard"],"selector":"img","multiple":false,"delay":0}]}

抓取内容

https://shimo.im/sheets/RyQRvHg6GdPpTQvq/MODOC/

内容示例

排名 名称 链接 海报
1 肖申克的救赎 https://movie.douban.com/subject/1292052/ https://img3.doubanio.com/view/photo/s_ratio_poster/public/p480747492.webp
2 霸王别姬 https://movie.douban.com/subject/1291546/ https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2561716440.webp
3 阿甘正传 https://movie.douban.com/subject/1292720/ https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2559011361.webp
4 这个杀手不太冷 https://movie.douban.com/subject/1295644/ https://img3.doubanio.com/view/photo/s_ratio_poster/public/p511118051.webp
5 泰坦尼克号 https://movie.douban.com/subject/1292722/ https://img3.doubanio.com/view/photo/s_ratio_poster/public/p457760035.webp