Scrap & Save lastes updated fund performance to csv
- Currently NAV
- NAV Change
- Bid
- Offer
- Datetime
- Python 3.6+
- Requests 2.22.0
- Beautiful Soup 4.7.1
Clone or Download as zip
import magik
# url from Fund Performance not a Fund Profile!
url = 'https://www.wealthmagik.com/FundInfo/FundPerformance-TMBAM-MIXBAL-TMBAALF-กองทุนเปิดทหารไทยจัดทัพลงทุน%20ระยะยาว'
filename = 'TMBAALF'
magik.scrape(url, filename)