A
A
Alan Kabisov2017-02-26 17:26:14
PHP
Alan Kabisov, 2017-02-26 17:26:14

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

3 answer(s)
L
Lander, 2017-02-26
@usdglander

Start with cURL .

X
xmoonlight, 2017-02-26
@xmoonlight

What do you think, dear ones?
Spamming is not good!
Move towards this .

O
Oleg Karnaukhov, 2017-02-26
@BupycNet

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 question

Ask a Question

731 491 924 answers to any question