Answer the question
In order to leave comments, you need to log in
How to parse a PHP site with authorization and send notifications?
I am learning PHP and I wanted to write a site parser on it and periodically send notifications. You also need to log in to the site before parsing. Tell me which way should I go? What libraries to use? Is this all possible at all? How to send notifications? What solutions are there? As I understand it, you can use browser alerts, but is it like JavaScript, or am I mistaken? And ideally, I would like to use native alerts on Mac OS. What do you think, dear ones?
Answer the question
In order to leave comments, you need to log in
What do you think, dear ones?Spamming is not good!
The parsing itself is done via curl.
In short - dig towards curl. By requesting authorization first, then you already download what you need and parse. At the same time, pass the address before the cookie to the curl.
And notifications can be sent via PushAll, there are also native ones for MacOS (Safari) and notifications on mobile devices through the application. Use Self API to send
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question