-
Notifications
You must be signed in to change notification settings - Fork 2k
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
php artisan avbook:avmoo --max=500报错,如何解决? #49
Comments
先 |
运行了,有PDO结果,但是curl -l https://avmoo.asia/cn/ 没有返回结果,估计是被反爬了,有什么好的绕过反爬方法吗? |
不知道啊,我也被反爬了,嘤嘤嘤 |
我和楼主的出错信息一摸一样,后来运行了php -m 输出有PDO,再运行php artisan migrate:refresh,还是不行,头大~~~ @BlacK201 |
找到原因了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[root@ip-172-26-4-191 avbook]# php artisan avbook:avmoo --max=500
this: https://avmoo.asia/cn/
GET: https://avmoo.asia/cn/movie/a before sql
[ 0 error code 404 [] - avbook_avmoo_movie ]
Symfony\Component\Debug\Exception\FatalThrowableError : Class 'App\Console\Tools\PDO' not found
at /www/wwwroot/avbook/app/Console/Tools/MedooEx.php:59
55| $values[] = $map_key;
56|
57| if (!isset($data[ $key ]))
58| {
Exception trace:
1 App\Console\Tools\MedooEx::insert("avbook_crawler_404")
/www/wwwroot/avbook/app/Console/Commands/BaseCrawler.php:119
2 App\Console\Commands\BaseCrawler::save_data(Object(GuzzleHttp\Psr7\Response))
/www/wwwroot/avbook/app/Console/Commands/BaseCrawler.php:254
Please use the argument -v to see more details.
The text was updated successfully, but these errors were encountered: