tanuki
tanuki copied to clipboard
Provide a form for common capture patterns
Capture (/capture) should have a menu for doing common things so you can just enter an URL and select from the menu and click go.
- New York Times article (css #article)
- Wikipedia article (css #bodyContent)
- Wikipedia infobox (css .infobox)
- Wikipedia first paragraph (xpath //*[@id="mw-content-text"]/p[1])
- Wikipedia first n paragraphs (//*[@id="mw-content-text"]/p[position() <= n])
- Wikipedia paragraph(s) before Contents box ("#toc")
- etc.
Maybe it could even detect common domains and "do the right thing".
Using a context menu (see #8) obviates the need for this, but it requires installing a browser extension, so having both is probably best, imo.