-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunds.py
65 lines (56 loc) · 1.04 KB
/
funds.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# js_script = "return chartMainContent_FonFiyatGrafik.series[0].data.map(a => { return {'VGF': a.config,'date': a.category } })"
# scripts = driver.find_elements(By.XPATH, "//script[@type='text/javascript']")
# for script in scripts:
# jsText = driver.execute_script("return arguments[0].innerHTML", script)
# if "chartMainContent_FonFiyatGrafik" in jsText:
# print(jsText)
# js_script = f"return chartMainContent_FonFiyatGrafik.series[0].data.map(a => {{ return {{ {fund}: a.config,'date': a.category }} }})"
bes_funds = [
"VGA",
"VGD",
"VGF",
"VEH",
"HHE",
"HHB",
"VEO",
"ZHB",
"VGC",
"VEY",
"VGH",
"VEV",
"HHN",
"VEE",
"ZHE",
"VEI",
"VGP",
"TBJ",
"HHY",
"HHG",
"VEG",
"ZHD",
"VET",
"VYB",
"VGE",
"VEK",
"VGY",
"VGT",
"HHM",
"VEB",
"VGG",
"VGK",
"VGZ",
"ZHF",
"ZHG",
"VES",
"VER",
"VGB",
"VEP",
"TML",
"VED",
"VEU",
"VKE",
"VKJ",
"VEL",
"TJY",
"TYJ",
]