p.Open("https://notes-box.com/notes/classical-music/");
200.ms();
for (int i = 1; i <= 1; i++) {
p.Open($"https://notes-box.com/notes/classical-music/?PAGEN_1={i}");
200.ms();
foreach (var song in w.Elm["web:IMAGE", prop: "@loading=lazy"].FindAll().Select(o => o.Navigate("pa").Value).ToArray()) {
p.Open(song);
200.ms();
var composer = w.Elm["web:LINK", prop: "@ru=Классческая", navig: "pr la"].Find(1).Name;
var click = w.Elm["web:GROUPING", prop: "@target=_blank"].Find(1);
click.Invoke();
//18.s(); //it seems you can cheat and don't wait. Will find the button while it's still invisible. But don't forget to donate.
var button = w.Elm["web:LINK", "DOWNLOAD FILE"].Find(3);
print.it(button);
//print.it(w.Elm["web:LINK"].FindAll());
200.ms();
button.SendKeys("Apps");
var w2 = wnd.find(5, "", "Chrome_WidgetWin_?", "chrome.exe", contains: "Save link as…");
print.it(w2);
var save = w2.Elm["MENUITEM", "Save link as…"].Find(3);
save.Invoke();
//300.ms();
break;
}
}
![]() |
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)