Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML provider is adding spurious text for table title? #1405

Open
dsyme opened this issue Nov 9, 2021 · 0 comments
Open

HTML provider is adding spurious text for table title? #1405

dsyme opened this issue Nov 9, 2021 · 0 comments

Comments

@dsyme
Copy link
Contributor

dsyme commented Nov 9, 2021

For this wikipedia page:

image

we're getting spurious "Edit" text:

image

HTML is this - it feels we shouldn't take the whole heading inner text, though I guess "edit" is part of the heading for better or worse.....

<h2><span class="mw-headline" id="Largest_earthquakes_by_year">Largest earthquakes by year</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lists_of_earthquakes&amp;action=edit&amp;section=5" title="Edit section: Largest earthquakes by year">edit</a><span class="mw-editsection-bracket">]</span></span></h2>

Source

open FSharp.Data

type Earthquakes = HtmlProvider<"https://en.wikipedia.org/wiki/Lists_of_earthquakes">


let data = Earthquakes.GetSample()

data.Tables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant