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
执行后歌单爬取正常,爬评论出现问题 #1
Comments
注意,
就我而言,经历了以下步骤:
对了 PHP 还用 homebrew 下载了 pcntl 扩展, 然后需要修改 希望有帮到你。 当然,跑起来大概20分钟左右,就会被网易封掉IP。。。 需要换VPN继续。如果用户听歌数太多,目前的代码基本无解,因为还没爬完就被封了IP,再重头爬不过是循环。还需要在代码里写入自动换IP的部分。 IP切换,就寄希望于楼主了。 虽然折腾了一晚上,但是终于还跑成功了一个用户,十分感谢楼主的代码的耐心指导。🤝 加油~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
centos7.3 php7.1 mysql5.7
[Illuminate\Database\QueryException]
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from
user_music
where
user_id
= xxxxxxx limit 5 offset 30)[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[HY000] [2002] Connection refused
[PDOException]
SQLSTATE[HY000] [2002] Connection refused
The text was updated successfully, but these errors were encountered: