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

How can I parse this? #56

Open
jxxe opened this issue May 19, 2020 · 1 comment
Open

How can I parse this? #56

jxxe opened this issue May 19, 2020 · 1 comment
Labels
feature Feature request

Comments

@jxxe
Copy link

jxxe commented May 19, 2020

I would like to extract 10-1 (W) - Varsity Softball @ Bishop O'Dowd from this snippet:

<a href="https://www.maxpreps.com/games/3-11-2020/softball-spring-20/berkeley-vs-bishop-odowd.htm?c=tTBFL-6rMEu4mhvQ2jpU_Q" target="_blank">
    10-1 (W) - Varsity Softball @ Bishop O'Dowd<span title="Game Result" class="placeboard"><span class="title">RESULT</span><span class="team-place">Win</span></span>
</a>

I see that one of the features listed is that hQuery can parse "broken HTML". Is that related to what I'm trying to do here?

@duzun
Copy link
Owner

duzun commented May 19, 2020

Hi @jxxe

It doesn't look like your HTML is broken. In any case, what you are trying to do is related to #4, take a look at the second comment for a hint.

I guess I have to do something about it, considering there are 3 issues already regarding this feature :)

@duzun duzun added the feature Feature request label May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants