Do anyone have experience with this technology. I need to be able to scrape a web page using PHP or JS while logged in. Maybe using CURL request to log in and then store the token and use it later.
Could you recommend me some library for this or a right way.
Thank you in advance!
github.com/FriendsOfPHP/Goutte this could be used but in general you still need to define the patterns.
I would recommend using selenium because that way you don't have the problem with heavy javascript pages and there are browser extensions where you can actually easily export certain behaviours as a base template :)
Atul Sharma
Full Stack Developer | Cloud Native Applications
I think PHPSimpleDOM is enough to scrape the web. Its pretty straight and uses css based selectors.