Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML output method results
#1
Hello.
Always appreciate the help. Big Grin
I wonder if you can output the HTML source results?

Function Function3
Code:
Copy      Help
out
str html=
;<!DOCTYPE html>
;<head>
;</head>
;<body class="flat-page ">
;
;;<tr class="altshade"  rel="20349932">
;;;;;;;;;;<td class="leftborder timestamp" rel="1446998311"><span class="updatets ">
;15h 42mins</span></td>
;;;;;;;;;;<td><span><style>
;.DDp_{display:none}
;.DRaw{display:inline}
;.PyAG{display:none}
;.DfgJ{display:inline}
;.YIzi{display:none}
;.hbTO{display:inline}
;</style><span style="display:none">38</span><span class="DDp_">38</span><div style="display:none">38</div><div style="display:none">59</div><span style="display: inline">124</span><span style="display:none">194</span><div style="display:none">194</div><span class="hbTO">.</span><span class="YIzi">48</span><div style="display:none">48</div><span style="display:none">49</span><div style="display:none">49</div><span style="display:none">61</span><span class="PyAG">61</span>88<span></span><span class="DDp_">153</span><span style="display:none">156</span><span class="DDp_">156</span><div style="display:none">162</div><span class="169">.</span><span class="140">67</span>.<span style="display:none">9</span><span class="PyAG">9</span><div style="display:none">9</div><span class="DfgJ">32</span></span></td>    
;;;;;;;;;;<td>
;80</td>
;;;;;;;;;;;;;;<td style="text-align:left" rel="cn"><span class="country" style="white-space:nowrap;">
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;<img src="/images/1x1.png" style="width: 16px; height: 11px; margin-right: 5px;" class="flags-cn" alt="flag "/>China</span>
;</td>
;
;</body>
;</html>
HtmlDoc d.InitFromText(html)
str text=d.GetText
out text

QM reseult:
15h 42mins .DDp_{display:none} .DRaw{display:inline} .PyAG{display:none} .DfgJ{display:inline} .YIzi{display:none} .hbTO{display:inline} 3838
38

59
124194
194
.48
48
49
49
616188153156156
162
.67.99
9
32 80 China


And IE reseult:
15h 42mins 124.88.67.32 80


I want to output following the QM results.
15h 42mins 124.88.67.32 80

How can I do?


Forum Jump:


Users browsing this thread: 1 Guest(s)