利用python抓取gamespot.com网站的实时新闻,翻译成中文,并同步在本地数据库。
此网站分三个部分。
1. crawling数据get层 (python 抓取,存储数据为json),并传输到api接口同步mysql数据。
2. backend: php api 后端 , 提供主要的增删改功能,用laravel做的.
3. frontend: next js 前端 , 利用next js (react+tailwindcss) fetch并绑定数据到前端。(支持moblie web)
源代码:
https://github.com/water-purifier/game_news_crawling
https://github.com/water-purifier/game_news_api_server
https://github.com/water-purifier/game_news_next_js