Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vikash12345 committed Aug 7, 2017
1 parent cdb1084 commit 0a73305
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions scraper.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,8 @@
$dom->load($html);

// walk through the dom and extract doctor information
echo $doc_name = $dom->find('span[id=Name]')->plaintext;
$doc_fname = $dom->find('span[id="FatherName"]')->plaintext;
$doc_dob = $dom->find('span[id="DOB"]')->plaintext;
$doc_infoyear = $dom->find('span[id="lbl_Info"]')->plaintext;
$doc_regnum = $dom->find('span[id="Regis_no"]')->plaintext;
$doc_datereg = $dom->find('span[id="Date_Reg"]')->plaintext;
$doc_council = $dom->find('span[id="Lbl_Council"]')->plaintext;
$doc_qual = $dom->find('span[id="Qual"]')->plaintext;
$doc_qualyear = $dom->find('span[id="QualYear"]')->plaintext;
$doc_univ = $dom->find('span[id="Univ"]')->plaintext;
$doc_address = $dom->find('span[id="Address"]')->plaintext;
echo $doc_name = $dom->find('span[id=Name]');




Expand Down

0 comments on commit 0a73305

Please sign in to comment.