cher4geo35 / parse-news
Parsing of 4geo news pages
v1.1.12
2024-08-21 08:11 UTC
Requires
- php: ^8.0.2
- guzzlehttp/guzzle: ^7.7
- portedcheese/base-settings: ^4.0|^5.0
Requires (Dev)
- orchestra/testbench: ^7.0
README
Парсинг новостей сайтов 4geo в portedcheese/site-news пакет новостей
Установка
php artisan migrate
php artisan vendor:publish --provider="Cher4geo35\ParseNews\ParseNewsServiceProvider" --tag=public --force
php artisan make:parse-news {--all : Run all}
{--menu : Config menu}
{--models : Export models}
{--policies : Export and create rules}
{--config : Make config}
{--controllers : Export controllers}
{--jobs : Export jobs}
{--vue : Export vue files}
Queues
Добавить в Supervisor:
- Последовательное выполнение очередей php artisan queue:work --queue=list,listdb,single,singledb,image_db,gallery_db --timeout=85
- Отладка: php artisan queue:listen --queue=list,listdb,single,singledb,image_db,gallery_db --timeout=85
Components
progress-bar:
<progress-bar url="{{ route('admin.parse-news.get-progress') }}">
</progress-bar>