Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extracting data from web page (table etc); will HtmlDoc be included in LA?
#14
Code:
Copy      Help
// script "notes-box.cs"
//https://notes-box.com/musicians/a/

print.clear();

var w = wnd.find(0, "* Google Chrome", "Chrome_WidgetWin_1");
foreach (var v in "0-9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".Split(',')) {
//foreach (var v in "A".Split(',')) { //test 1 page
    
    //open page

    
    var e = w.Elm["web:LINK", v].Find(5);
    print.it(e.Name);
    e.Invoke();
    e = w.Elm["web:GROUPING", "Artist* " + v].Find(5);
    
    //get all artists
    
    //show all

    var all = w.Elm["web:LINK", "All"].Find(-1);
    if (all != null) {
        all.Invoke();
        e = w.Elm["web:LINK", "Paged"].Find(10);
    }

    
    var links = e.Parent.Elm["LINK", prop: "level=0"].FindAll();
    print.it(links.Length);
}


Messages In This Thread
RE: Will HtmlDoc be included in LA? - by Gintaras - 05-14-2023, 07:34 AM
RE: Will HtmlDoc be included in LA? - by birdywen - 05-14-2023, 12:10 PM
RE: Will HtmlDoc be included in LA? - by Gintaras - 05-14-2023, 12:31 PM
RE: Will HtmlDoc be included in LA? - by birdywen - 05-14-2023, 12:44 PM
RE: Will HtmlDoc be included in LA? - by birdywen - 05-20-2023, 02:58 PM
RE: Will HtmlDoc be included in LA? - by Gintaras - 05-20-2023, 04:07 PM
RE: Will HtmlDoc be included in LA? - by birdywen - 05-20-2023, 04:27 PM
RE: Will HtmlDoc be included in LA? - by birdywen - 05-27-2023, 06:18 AM
RE: Will HtmlDoc be included in LA? - by Gintaras - 05-27-2023, 07:16 AM
RE: Will HtmlDoc be included in LA? - by birdywen - 05-27-2023, 07:23 AM
RE: Will HtmlDoc be included in LA? - by birdywen - 05-31-2023, 03:13 AM
RE: Will HtmlDoc be included in LA? - by Gintaras - 05-31-2023, 04:05 AM
RE: Will HtmlDoc be included in LA? - by Gintaras - 05-31-2023, 04:25 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)