Replies: 3 comments
|
@farsidd Hey! I ran into the same issue you were having. This is what I did to fix it. From the root of the project, I ran Then, I override the base method base_path reference https://laravel.com/docs/10.x/helpers#method-base-path However, if the page you're trying to request relies on JavaScript to load the DOM elements you're selecting, I'm not sure a fix for that yet (using RoachPHP at least). Hope this helps you, or anyone else having this issue. |
|
Sure. I will check that thing. |
|
I’m moving this to discussions as this seems more related to scraping a particular page than a bug with the package. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am working in Laravel 9.0. Whenever i am running command I'm not getting anything in Log file. See the attached pic of log file. Request sent successfully but no data scrapped.
Here is the view of log file

here is the view of my spider file

i have installed this version of roach-php: "roach-php/laravel": "^2.0"
Is there anything I'm missing?
All reactions