forked from aslan/applicant-site
fixing previous commit
This commit is contained in:
parent
bfcb9cdba2
commit
f8155f2557
|
@ -9,6 +9,10 @@
|
|||
$pageScrapper = new PageScrapper("https://www.mkgtu.ru/postuplenie/web-consultations/", '<div class=["\']content_info["\']>');
|
||||
$row = $pageScrapper->getHTML();
|
||||
$content = $pageScrapper->normalizeURLFile($row);
|
||||
$page = "https://mkgtu.ru/postuplenie/priemnaya-kampaniya/spetsialitet-magistratura-2022/";
|
||||
$strForScissors = '/<footer(.*)<\/footer>/isU';
|
||||
$tmp = preg_match_all($strForScissors, $content, $arr);
|
||||
$content = str_replace($arr[1],'',$content);
|
||||
echo $content;
|
||||
|
||||
@endphp
|
||||
|
|
|
@ -39,6 +39,10 @@
|
|||
$pageScrapper = new PageScrapper("https://mkgtu.ru/postuplenie/podat-dokumenty-onlayn/", '<div class=["\']content_info["\']>');
|
||||
$row = $pageScrapper->getHTML();
|
||||
$content = $pageScrapper->normalizeURLFile($row);
|
||||
$page = "https://mkgtu.ru/postuplenie/priemnaya-kampaniya/spetsialitet-magistratura-2022/";
|
||||
$strForScissors = '/<footer(.*)<\/footer>/isU';
|
||||
$tmp = preg_match_all($strForScissors, $content, $arr);
|
||||
$content = str_replace($arr[1],'',$content);
|
||||
echo $content;
|
||||
|
||||
@endphp
|
||||
|
|
Loading…
Reference in New Issue