teadrinker
Пробую для теста просто получить все данные со страницы, там выводится начальная часть страницы (остальная думаю просто не помещается в окне)
url := "https://hashrate.no/asics/ez100pro"
whr := ComObjCreate("WinHttp.WinHttpRequest.5.1")
whr.Open("GET", url, true)
whr.Send()
whr.WaitForResponse(10)
msgbox, % whr.ResponseText
Посмотрел по коду странице в браузере, нужные мне данные в огромной строке по центру всего кода примерно:
</div></div></div></div><div class='w3-col l6 m6 s6'><div style='float: left;font-size: 12px;'><input class='checkBox' type='checkbox' value='1' checked='checked' name='nicehash' onchange='this.form.submit()'> NiceHash<br /></div></div></div><input type='hidden' name='action' value='filter'></form></div><div class='w3-row' style='margin: 15px 15px 0px 15px;'><div class='w3-col l3 m12 s12' style='padding-top: 0px;'><input style='margin-bottom: 3px;' type='text' id='searchInput' onkeyup='searchFilter()' placeholder='Search coins' title='Enter your search'></div><div class='w3-col l9' style='margin-top: 10px;'></div></div><div class='w3-col l12 m12 s12'><ul id='myUL'><li><div class='w3-col l12 m12 s12'><div class='block deviceLink'><a class='overlay' style='pointer-events: none;' href='/asics/ez100pro/ETC'><div style='display: none;'>ETC Ethereum Classic Etchash</div></a><div class='w3-row inner'><div class='w3-row'><div class='w3-col l3 m12 s12' style='padding: 10px;'><div class='w3-row w3-hide-medium w3-hide-small'><div style='float: left; width: 45px; height: 30px;text-align: center;font-size: 18px;'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/0aae9d2c902c28038f3bb479f98a3399.png' /></div><div class='w3-rest'><div class='deviceHeader2'>Ethereum Classic <span style='color: #cccccc;font-size: 14px;'>ETC</span></div><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Etchash</td></tr><tr><td style='font-size: 10px;'>Volume</td><td class='white' style='font-size: 10px;'>$107446320</td></tr><tr><td style='font-size: 10px;'>Emission</td><td class='white' style='font-size: 10px;'>$421643</td></tr><tr><td style='font-size: 10px;'>Est. ROI</td><td class='white' style='font-size: 10px;'>747 days</td></tr></table></div></div></div><div class='w3-row w3-hide-large'><div class='w3-row'><div class='w3-col m6 s6'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/0aae9d2c902c28038f3bb479f98a3399.png' /><span class='deviceHeader2'>Ethereum Classic <span style='color: #cccccc;font-size: 14px;'>ETC</span></span></div><div class='w3-col m6 s6'><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Etchash</td></tr><tr><td style='font-size: 10px;'>Volume</td><td class='white' style='font-size: 10px;'>$107446320</td></tr><tr><td style='font-size: 10px;'>Emission</td><td class='white' style='font-size: 10px;'>$421643</td></tr><tr><td style='font-size: 10px;'>Est. ROI</td><td class='white' style='font-size: 10px;'>747 days</td></tr></table></div></div></div></div></div><div class='w3-col l9 m12 s12' style='padding: 0px;'><div class='w3-col l6 m12 s12'><div class='w3-col l12 m12 s12 deviceData'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><table style='width: 100%;' cellpadding='0' cellspacing='0'><tr><td style='text-align: center;'>15.5 Gh/s</td><td style='text-align: center;'>5.00 Mh/s/W</td><td style='text-align: center;'>1.02 ETC<img style='padding-left: 5px;' src='https://images.hashrate.no/f5f6ea7e580849789f0e2d348c8ad21f.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Hashrate ETC</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Efficiency ETC</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Yield ETC</td></tr></table></div></div></div><div class='w3-col l6 m12 s12'><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>3100 w</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power</td></tr><tr><td style='padding-top: 10px;'>74.4 kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>0.41 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue/kWh</td></tr><tr><td style='padding-top: 10px;'>0.41 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev. 24h/kWh</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>$30.53 <img style='padding-left: 5px;' src='https://images.hashrate.no/5366ef4b6491cf6597e65150ff15b56b.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue</td></tr><tr><td style='padding-top: 10px;'>$30.38 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceDataSelected' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td style='font-weight: bold;'>$26.07 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit</td></tr><tr><td style='padding-top: 10px;'>$25.91 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit 24h</td></tr></table></center></div></div></div></div></div></div></a></div></div></li><li><div class='w3-col l12 m12 s12'><div class='block deviceLink'><a class='overlay' style='pointer-events: none;' href='/asics/ez100pro/BTN'><div style='display: none;'>BTN Bitnet BTN Ethash</div></a><div class='w3-row inner'><div class='w3-row'><div class='w3-col l3 m12 s12' style='padding: 10px;'><div class='w3-row w3-hide-medium w3-hide-small'><div style='float: left; width: 45px; height: 30px;text-align: center;font-size: 18px;'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/b38690e32888b0d4d6c51afed2d53c22.png' /></div><div class='w3-rest'><div class='deviceHeader2'>Bitnet BTN <span style='color: #cccccc;font-size: 14px;'>BTN</span></div><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Ethash</td></tr><tr><td style='font-size: 10px;'>Volume</td><td class='white' style='font-size: 10px;'>$943.0<img style='padding-left: 5px;max-height: 10px;' src='https://images.hashrate.no/1e67a053dde961b3402ad5b9ea368c75.png' /></td></tr><tr><td style='font-size: 10px;'>Emission</td><td class='white' style='font-size: 10px;'>$667.5<img style='padding-left: 5px;max-height: 10px;' src='https://images.hashrate.no/adb708f85648f244fa79b84885098634.png' /></td></tr><tr><td style='font-size: 10px;'>Est. ROI</td><td class='white' style='font-size: 10px;'>829 days</td></tr></table></div></div></div><div class='w3-row w3-hide-large'><div class='w3-row'><div class='w3-col m6 s6'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/b38690e32888b0d4d6c51afed2d53c22.png' /><span class='deviceHeader2'>Bitnet BTN <span style='color: #cccccc;font-size: 14px;'>BTN</span></span></div><div class='w3-col m6 s6'><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Ethash</td></tr><tr><td style='font-size: 10px;'>Volume</td><td class='white' style='font-size: 10px;'>$943.0<img style='padding-left: 5px;max-height: 10px;' src='https://images.hashrate.no/1e67a053dde961b3402ad5b9ea368c75.png' /></td></tr><tr><td style='font-size: 10px;'>Emission</td><td class='white' style='font-size: 10px;'>$667.5<img style='padding-left: 5px;max-height: 10px;' src='https://images.hashrate.no/adb708f85648f244fa79b84885098634.png' /></td></tr><tr><td style='font-size: 10px;'>Est. ROI</td><td class='white' style='font-size: 10px;'>829 days</td></tr></table></div></div></div></div></div><div class='w3-col l9 m12 s12' style='padding: 0px;'><div class='w3-col l6 m12 s12'><div class='w3-col l12 m12 s12 deviceData'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><table style='width: 100%;' cellpadding='0' cellspacing='0'><tr><td style='text-align: center;'>15.5 Gh/s</td><td style='text-align: center;'>5.00 Mh/s/W</td><td style='text-align: center;'>283.9 BTN<img style='padding-left: 5px;' src='https://images.hashrate.no/5366ef4b6491cf6597e65150ff15b56b.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Hashrate BTN</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Efficiency BTN</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Yield BTN</td></tr></table></div></div></div><div class='w3-col l6 m12 s12'><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>3100 w</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power</td></tr><tr><td style='padding-top: 10px;'>74.4 kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>0.39 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue/kWh</td></tr><tr><td style='padding-top: 10px;'>0.37 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev. 24h/kWh</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>$28.67 <img style='padding-left: 5px;' src='https://images.hashrate.no/5366ef4b6491cf6597e65150ff15b56b.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue</td></tr><tr><td style='padding-top: 10px;'>$27.80 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceDataSelected' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td style='font-weight: bold;'>$24.21 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit</td></tr><tr><td style='padding-top: 10px;'>$23.34 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit 24h</td></tr></table></center></div></div></div></div></div></div></a></div></div></li><li><div class='w3-col l12 m12 s12'><div class='block deviceLink'><a class='overlay' style='pointer-events: none;' href='/asics/ez100pro/OCTA'><div style='display: none;'>OCTA OctaSpace Ethash</div></a><div class='w3-row inner'><div class='w3-row'><div class='w3-col l3 m12 s12' style='padding: 10px;'><div class='w3-row w3-hide-medium w3-hide-small'><div style='float: left; width: 45px; height: 30px;text-align: center;font-size: 18px;'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/194a5d71051334b1d3209faa16bc3ad4.png' /></div><div class='w3-rest'><div class='deviceHeader2'>OctaSpace <span style='color: #cccccc;font-size: 14px;'>OCTA</span></div><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Ethash</td></tr><tr><td style='font-size: 10px;'>Volume</td><td class='white' style='font-size: 10px;'>$180181</td></tr><tr><td style='font-size: 10px;'>Emission</td><td class='white' style='font-size: 10px;'>$16736</td></tr><tr><td style='font-size: 10px;'>Est. ROI</td><td class='white' style='font-size: 10px;'>834 days</td></tr></table></div></div></div><div class='w3-row w3-hide-large'><div class='w3-row'><div class='w3-col m6 s6'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/194a5d71051334b1d3209faa16bc3ad4.png' /><span class='deviceHeader2'>OctaSpace <span style='color: #cccccc;font-size: 14px;'>OCTA</span></span></div><div class='w3-col m6 s6'><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Ethash</td></tr><tr><td style='font-size: 10px;'>Volume</td><td class='white' style='font-size: 10px;'>$180181</td></tr><tr><td style='font-size: 10px;'>Emission</td><td class='white' style='font-size: 10px;'>$16736</td></tr><tr><td style='font-size: 10px;'>Est. ROI</td><td class='white' style='font-size: 10px;'>834 days</td></tr></table></div></div></div></div></div><div class='w3-col l9 m12 s12' style='padding: 0px;'><div class='w3-col l6 m12 s12'><div class='w3-col l12 m12 s12 deviceData'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><table style='width: 100%;' cellpadding='0' cellspacing='0'><tr><td style='text-align: center;'>15.5 Gh/s</td><td style='text-align: center;'>5.00 Mh/s/W</td><td style='text-align: center;'>20.65 OCTA<img style='padding-left: 5px;' src='https://images.hashrate.no/f5f6ea7e580849789f0e2d348c8ad21f.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Hashrate OCTA</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Efficiency OCTA</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Yield OCTA</td></tr></table></div></div></div><div class='w3-col l6 m12 s12'><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>3100 w</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power</td></tr><tr><td style='padding-top: 10px;'>74.4 kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>0.38 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue/kWh</td></tr><tr><td style='padding-top: 10px;'>0.37 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev. 24h/kWh</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>$28.09 <img style='padding-left: 5px;' src='https://images.hashrate.no/5366ef4b6491cf6597e65150ff15b56b.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue</td></tr><tr><td style='padding-top: 10px;'>$27.68 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceDataSelected' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td style='font-weight: bold;'>$23.62 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit</td></tr><tr><td style='padding-top: 10px;'>$23.21 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit 24h</td></tr></table></center></div></div></div></div></div></div></a></div></div></li><li><div class='w3-col l12 m12 s12'><div class='block deviceLink'><a class='overlay' style='pointer-events: none;' href='/asics/ez100pro/LRS'><div style='display: none;'>LRS Larissa Ethash</div></a><div class='w3-row inner'><div class='w3-row'><div class='w3-col l3 m12 s12' style='padding: 10px;'><div class='w3-row w3-hide-medium w3-hide-small'><div style='float: left; width: 45px; height: 30px;text-align: center;font-size: 18px;'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/859136cdd7a0528bf3837ff9d7b30bbf.png' /></div><div class='w3-rest'><div class='deviceHeader2'>Larissa <span style='color: #cccccc;font-size: 14px;'>LRS</span></div><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Ethash</td></tr><tr><td style='font-size: 10px;'>Volume</td><td class='white' style='font-size: 10px;'>$25989</td></tr><tr><td style='font-size: 10px;'>Emission</td><td class='white' style='font-size: 10px;'>$763.5<img style='padding-left: 5px;max-height: 10px;' src='https://images.hashrate.no/adb708f85648f244fa79b84885098634.png' /></td></tr><tr><td style='font-size: 10px;'>Est. ROI</td><td class='white' style='font-size: 10px;'>882 days</td></tr></table></div></div></div><div class='w3-row w3-hide-large'><div class='w3-row'><div class='w3-col m6 s6'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/859136cdd7a0528bf3837ff9d7b30bbf.png' /><span class='deviceHeader2'>Larissa <span style='color: #cccccc;font-size: 14px;'>LRS</span></span></div><div class='w3-col m6 s6'><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Ethash</td></tr><tr><td style='font-size: 10px;'>Volume</td><td class='white' style='font-size: 10px;'>$25989</td></tr><tr><td style='font-size: 10px;'>Emission</td><td class='white' style='font-size: 10px;'>$763.5<img style='padding-left: 5px;max-height: 10px;' src='https://images.hashrate.no/adb708f85648f244fa79b84885098634.png' /></td></tr><tr><td style='font-size: 10px;'>Est. ROI</td><td class='white' style='font-size: 10px;'>882 days</td></tr></table></div></div></div></div></div><div class='w3-col l9 m12 s12' style='padding: 0px;'><div class='w3-col l6 m12 s12'><div class='w3-col l12 m12 s12 deviceData'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><table style='width: 100%;' cellpadding='0' cellspacing='0'><tr><td style='text-align: center;'>15.5 Gh/s</td><td style='text-align: center;'>5.00 Mh/s/W</td><td style='text-align: center;'>744.9 LRS<img style='padding-left: 5px;' src='https://images.hashrate.no/5366ef4b6491cf6597e65150ff15b56b.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Hashrate LRS</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Efficiency LRS</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Yield LRS</td></tr></table></div></div></div><div class='w3-col l6 m12 s12'><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>3100 w</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power</td></tr><tr><td style='padding-top: 10px;'>74.4 kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>0.36 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue/kWh</td></tr><tr><td style='padding-top: 10px;'>0.35 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev. 24h/kWh</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>$26.52 <img style='padding-left: 5px;' src='https://images.hashrate.no/5366ef4b6491cf6597e65150ff15b56b.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue</td></tr><tr><td style='padding-top: 10px;'>$26.39 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceDataSelected' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td style='font-weight: bold;'>$22.06 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit</td></tr><tr><td style='padding-top: 10px;'>$21.93 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit 24h</td></tr></table></center></div></div></div></div></div></div></a></div></div></li><li><div class='w3-col l12 m12 s12'><div class='block deviceLink'><a class='overlay' style='pointer-events: none;' href='/asics/ez100pro/NH-Etchash'><div style='display: none;'>NH-Etchash NiceHash Etchash Etchash</div></a><div class='w3-row inner'><div class='w3-row'><div class='w3-col l3 m12 s12' style='padding: 10px;'><div class='w3-row w3-hide-medium w3-hide-small'><div style='float: left; width: 45px; height: 30px;text-align: center;font-size: 18px;'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/fb085a405305f051233216e378eb483a.png' /></div><div class='w3-rest'><div class='deviceHeader2'>NiceHash Etchash <span style='color: #cccccc;font-size: 14px;'>NH-Etchash</span></div><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Etchash</td></tr></table></div></div></div><div class='w3-row w3-hide-large'><div class='w3-row'><div class='w3-col m6 s6'><img style='padding-right: 5px; width: 37px;' src='https://images.hashrate.no/fb085a405305f051233216e378eb483a.png' /><span class='deviceHeader2'>NiceHash Etchash <span style='color: #cccccc;font-size: 14px;'>NH-Etchash</span></span></div><div class='w3-col m6 s6'><div class='deviceInfo' style='line-height: 12px;text-align: left;'><table cellspacing='0' cellborder='0'><tr><td style='font-size: 10px;'>Algorithm</td><td class='white' style='font-size: 10px;'>Etchash</td></tr></table></div></div></div></div></div><div class='w3-col l9 m12 s12' style='padding: 0px;'><div class='w3-col l6 m12 s12'><div class='w3-col l12 m12 s12 deviceData'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><table style='width: 100%;' cellpadding='0' cellspacing='0'><tr><td style='text-align: center;'>15.5 Gh/s</td><td style='text-align: center;'>5.00 Mh/s/W</td><td style='text-align: center;'>0.239 mBTC</td></tr><tr><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Hashrate NH-Etchash</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Efficiency NH-Etchash</td><td style='font-size: 10px;color: #a7a7a7; width: 33%;text-align: center;'>Yield NH-Etchash</td></tr></table></div></div></div><div class='w3-col l6 m12 s12'><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>3100 w</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power</td></tr><tr><td style='padding-top: 10px;'>74.4 kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Power 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>0.32 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue/kWh</td></tr><tr><td style='padding-top: 10px;'>0.15 $/kWh</td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev. 24h/kWh</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceData' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td>$23.95 <img style='padding-left: 5px;' src='https://images.hashrate.no/5366ef4b6491cf6597e65150ff15b56b.png' /></td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Revenue</td></tr><tr><td style='padding-top: 10px;'>$11.19 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Rev 24h</td></tr></table></center></div></div><div class='w3-col l3 m3 s3 deviceDataSelected' style='height: 95px;'><div style='line-height: 1;overflow: hidden;padding-top: 5px;'><center><table cellpadding='0' cellspacing='0'><tr><td style='font-weight: bold;'>$19.48 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit</td></tr><tr><td style='padding-top: 10px;'>$6.73 </td></tr><tr><td style='font-size: 10px;color: #a7a7a7;'>Profit 24h</td></tr></table></center></div></div></div></div></div></div></a></div></div></li></ul>
На странице (https://hashrate.no/asics/ez100pro) оно выглядит так:
Из этого кода мне надо вытащить $30.53, во первых тут каждый раз меняется сама сумма, во вторых периодически меняется в позиция в таблице на сайте для нужной монеты. Как именно искать то, то что постоянно меняется я не представляю. Сам текст ($30.53) окружен тегами, и в строке выглядит так <tr><td>$30.53 <img, но на сайте куча других значений окруженных такими же ближайшими тегами до и после.
UPDATE:
Как примерно найти именно нужное значение я понял.
Сначало нужно найти Yield ETC. Оно будет единственным на всей странице.
Далее от него найти третье совпадение по строке cellpadding='0' cellspacing='0'><tr><td>XXXX где XXXX именно по третьему совпадению будет нужным мне значением.
Только вот как это реализовать, и возможно ли вообще, не представляю...