mythsman / mouban Goto Github PK
View Code? Open in Web Editor NEWDouban crawler for hexo-douban
License: MIT License
Douban crawler for hexo-douban
License: MIT License
显示找不到用户是什么原因呢,试过好几个帐号了都不行
有没有办法获取到更新时间?
比如 我更新了之前的电影评论
然后返回的数据有个最新更新时间
你好,小白一枚.
很感谢大佬做豆瓣的Api接口和缓存的服务.
我在github.io上部署了自己的网页博客(jekyll).很遗憾不是hexo,不然可以用上hexo-douban会更为方便.
幸得mouban.mythsman.com的缓存json可以拿来引用.
但是我遇到了跨域问题,即github.io无法对mouban.mythsman.com的json做出引用.
想来咨询一下解决的方案,能否在后端做出更为便捷的跨域的调整?
谢过.
题外话:是否考虑给出便携的自部署方案?我想自己部署相关服务,也可以减轻服务压力.(前段时间mouban.mythsman.com好像没响应)
再谢.
如题,这部剧的标题应该是 重启人生,https://movie.douban.com/subject/36156235/
抓出来的 title 里取的是别名,又名: Brush Up Life / 刷新生活
{
"item": {
"douban_id": 36156235,
"title": "刷新生活 ブラッシュアップライフ",
"style": "剧情 / 喜剧 / 奇幻",
"director": "笨蛋节奏",
"writer": "笨蛋节奏",
"actor": "安藤樱 / 夏帆 / 木南晴夏 / 松坂桃李 / 染谷将太 / 黑木华 / 臼田麻美 / 铃木浩介 / 笨蛋节奏",
"publish_date": "",
"alias": "Brush Up Life",
"thumbnail": "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2883801316.jpg"
},
"rate": 0,
"label": "",
"comment": "",
"action": 0,
"mark_date": "2023-03-19"
},
你好,发现电影接口中所有的 director
和 writer
字段值重复,均为 writer
的值。
本人不懂 go
,但怀疑是以下代码的问题,仅供参考。
# crawl/movie.go
director := strings.TrimSpace(data["编剧"])
...
writer := strings.TrimSpace(data["编剧"])
用hexo douban命令爬完数据之后发现电影的数量比我豆瓣影单要多,仔细对比发现多了何以为家,无名之辈,红海行动三部电影,多执行了几次命令还是多这三部,请问是什么原因
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.