Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting web page main text
Message
De
11/10/2018 12:43:04
 
 
À
11/10/2018 10:24:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01662543
Message ID:
01662552
Vues:
43
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform