-
-
Notifications
You must be signed in to change notification settings - Fork 409
tld: Use Wiki API #1970
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
tld: Use Wiki API #1970
Conversation
|
Ok, I dunno why qa fails on my box, but it passes in CI 🤷 |
😕
Good; I was about to say |
dgw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tl;dr: except Exception bad
d5c978f to
e6dc896
Compare
e6dc896 to
6d5f000
Compare
dgw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Man, I got distracted by the whole Travis CI build queue thing… This is a meaningful reduction in the amount of HTML the bot needs to transfer and parse. Why not?
Description
Use the Wikipedia API to fetch only article content instead of scraping the entire page.
I'd like to use a better parser, but we probably don't want to add dependencies to the larger sopel repo just for this.
make qacurrently fails in the same way it does onmaster.Checklist
make qa(runsmake qualityandmake test)