- ©«¤l
- 15
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 71
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 10
- ³nÅ骩¥»
- offfice2016
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2017-8-6
- ³Ì«áµn¿ý
- 2024-7-13
|
[µo°Ý] How to scrape this website dynamic data from Javascript with VBA?
Website: https://www.hangseng.com/en-hk/personal/insurance-mpf/e-mpf/fund-price-performance/
Targets of automate data scraping: fund price as highlighted in the below figure
Tools: VBA(Excel), Chrome driven by Selenium
The code started as below:- Chrome.ExecuteScript "window.open('https://www.hangseng.com/en-hk/e-services/e-mpf/fund-price- performance/price/','_blank');"
- Chrome.SwitchToNextWindow
- Chrome.FindElementByXPath("//a[text()='Acknowledge']").Click
½Æ»s¥N½X Then I have no further idea to retrieve those specified data. Please provide help. Thanks a lot! |
|