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

Remove polls in Android Authority parser #699

Open
jocmp opened this issue Jan 8, 2025 · 1 comment
Open

Remove polls in Android Authority parser #699

jocmp opened this issue Jan 8, 2025 · 1 comment
Assignees

Comments

@jocmp
Copy link
Owner

jocmp commented Jan 8, 2025

Reference

No special element or meaningful class names that would allow you to target these polls in the custom parser, but after comparing with some of their other articles that contain polls, it appears that the classes e_Oh and e_Kp are the ones used to define the these polls.


Sample HTML

<div class="e_e">
  <div class="e_Oh e_Kp">
    <h3 class="e_Np">
      Which Android XR form factor are you most excited about?
    </h3>
    <div class="e_Op">1343 votes</div>
    <div class="e_Pp e_Qh">
      <button type="button" class="e_Qp">
        <div class="e_Rp">The headset! Give me that immersion!</div>
        <div class="e_Mp">10<!-- -->%</div>
        <div class="e_Sp">
          <div class="e_Lp" style="width: 10%"></div>
        </div></button
      ><button type="button" class="e_Qp">
        <div class="e_Rp">
          The glasses! I want that lightweight design I can use everywhere.
        </div>
        <div class="e_Mp">46<!-- -->%</div>
        <div class="e_Sp">
          <div class="e_Lp" style="width: 46%"></div>
        </div></button
      ><button type="button" class="e_Qp">
        <div class="e_Rp">Both.</div>
        <div class="e_Mp">14<!-- -->%</div>
        <div class="e_Sp">
          <div class="e_Lp" style="width: 14%"></div>
        </div></button
      ><button type="button" class="e_Qp">
        <div class="e_Rp">
          None. I&#x27;m already invested in another XR/VR/AR platform.
        </div>
        <div class="e_Mp">3<!-- -->%</div>
        <div class="e_Sp">
          <div class="e_Lp" style="width: 3%"></div>
        </div></button
      ><button type="button" class="e_Qp">
        <div class="e_Rp">I don&#x27;t care about XR, AR, or VR.</div>
        <div class="e_Mp">28<!-- -->%</div>
        <div class="e_Sp"><div class="e_Lp" style="width: 28%"></div></div>
      </button>
    </div>
  </div>
</div>
@jocmp jocmp self-assigned this Jan 8, 2025
@jocmp jocmp added this to Capy Reader Jan 8, 2025
@jocmp jocmp moved this to On Deck in Capy Reader Jan 8, 2025
@jocmp jocmp moved this from On Deck to In Progress in Capy Reader Jan 10, 2025
@jocmp jocmp changed the title Strip polls in Android Authority parser Remove polls in Android Authority parser Jan 15, 2025
@jocmp jocmp moved this from In Progress to Next Release in Capy Reader Jan 15, 2025
@jocmp
Copy link
Owner Author

jocmp commented Jan 15, 2025

Extracted Article
Screenshot_20250114_224900 Screenshot_20250114_224921

@jocmp jocmp moved this from Next Release to Done in Capy Reader Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant