composer require crwlr/crawler
composer require helgesverre/extractor
php artisan vendor:publish --tag="extractor-config"
php artisan vendor:publish --provider="OpenAI\Laravel\ServiceProvider"
php artisan make:command Crawl
Then copy the code for the Command from the previous gist, and the put the ExtractWithAi into app/Crawler or wherever you want. (remember to update the namespaces)