projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c3cf3
)
Finance/ISIN/SG.php
author
leon
<leon@roojs.com>
Thu, 21 Dec 2023 09:21:15 +0000
(17:21 +0800)
committer
leon
<leon@roojs.com>
Thu, 21 Dec 2023 09:21:15 +0000
(17:21 +0800)
Finance/ISIN/SG.php
patch
|
blob
|
history
diff --git
a/Finance/ISIN/SG.php
b/Finance/ISIN/SG.php
index
f830fc0
..
a0c8de5
100644
(file)
--- a/
Finance/ISIN/SG.php
+++ b/
Finance/ISIN/SG.php
@@
-31,9
+31,11
@@
class Finance_ISIN_SG extends Finance_ISIN
var_dump($str);
- $doc = new DOMDocument();
- $doc->loadHTMLFIle($str);
- var_dump($doc);
+ $dom = new DOMDocument();
+ $dom->loadHTMLFile($str);
+ $xpath = new DomXPath($dom);
+ $items = $xpath->query("//*strong[contains(@class, 'bsg-fs-header__subitem')]");
+ var_dump($items);
die('test');
if($isin) {