-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原视频中 歌单详情页数据抓不到 #6
Comments
歌单详情是指首页的吗?你看看我的项目server端的代码 |
额,你的项目 我依赖一直装一半就卡住了 。 然后我直接复制 node 代码和 api底下的js 还是不行。 |
换个cnpm试试 具体看不到报错也不好解决 |
我先试下cnpm 看看你的项目,我用jsonp返回这个 playlistinfoCallback({"code":0,"subcode":1,"msg":"invalid referer"}) |
可以了, 复制了你的node代码 |
你好,新的vue-cli脚手架,舍弃了dev-server.js 。那我应该把那段axios代理写在哪里,去获取首页的歌单详情。 |
@fh12 你可以在项目目录下新建一个server文件夹,require express模块,监听一个新的端口,然后启动node服务,然后在设置一下代理处理一下跨域的问题就好 |
@k-water 大神你好,我还是没有弄出来呢,你能教教我吗? |
加我QQ吧 |
你的,我新建了server文件了,里面创建了路由实例,然后在webpack-dev-server用app.use()引用。怎么不行。 |
您好,我可以加您QQ吗?这个项目我弄了很久了,就是抓取不到数据真的很影响心情 |
求大神弄下。
The text was updated successfully, but these errors were encountered: