Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting web page main text
Message
From
11/10/2018 12:43:04
 
 
To
11/10/2018 10:24:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01662543
Message ID:
01662552
Views:
42
>Jos,
>
>I know of no DOM method other than Dragans innertext to extract just the visible text on screen. You might check if automatic cut/paste into a pure text editor still has all the relevant info - text, list, and a_link nodes should be there, not certain about more controlly thingies like button or, dropdown, adio and so on.
>
>I'd either walk the .body of the DOM myself, but look first into Screen Scraping libraries - Python has Beautiful Soup and others, Javascript has at least one and Selenium might have functionality for that as well, as it is a test tool and logging "visible text" as option might be useful. Vfp fell out of favor to soon, no tools there...
>
>HTH
>
>thomas

Hi Thomas,

Hope you well. Thanks for the added info!
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform