T
T
TostPOST2019-09-05 22:12:37
Parsing
TostPOST, 2019-09-05 22:12:37

How to parse EZD?

I need to make a small VK bot that will send data about grades, tasks, etc. to PM. I already tried spimplehtmlparser and curl, but I can't seem to get the site to parse. What is the reason for this and how to parse the EZD ???

<?php
$url = "http://dnevnik.mos.ru/student_diary/student_diary/м";
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($curl, CURLOPT_SSL_VERIFYHOST, 0);
$page = curl_exec($curl);
var_dump($page);
?>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question