stefanw / bibbot

BibBot is a browser extension that removes the paywall on German online news sites using your library account's access to press databases.
https://stefanw.github.io/bibbot/
GNU General Public License v3.0
508 stars 78 forks source link

fix Stuttgarter Zeitung (#312) #403

Closed JensErat closed 5 months ago

JensErat commented 9 months ago

This commit is expected to fix Stuttgarter Zeitung (would partially fix #312). If this fix is fine, the same can likely be applied to a whole bunch of local newspapers, all from the same company now sharing the same website layout (ie. also Stuttgarter Nachrichten). Would gladly help out adding the others, once I'm sure I got this right.

At least the local test works now. How can I create a local/debug addon release to verify the fix in a real browser?

darkdragon-001 commented 6 months ago

For testing, you can run ./dist.sh and then use the generated .zip file to add this to Chrome.

stefanw commented 5 months ago

I believe .article-body > p might be a better selector. The intro text sounds like it's made for the web which makes it difficult to find in the press databases.