Comments (5)
Could you share the exact exception message you got? Also, were you using the English or French version?
from wikiquote.
I'm not getting one today, but it looked like if the quote of the day didn't have an author then the function would raise an exception when you would try accessing raw_data[1]. It was line 158 that raised it yesterday in the english version. It works today and I'm not sure how often it'll come up.
from wikiquote.
From what I'm seeing, all recent quotes have had an author attributed (https://en.wikiquote.org/wiki/Wikiquote:Quote_of_the_day/March_2016), it may have been something like the page's HTML layout changing for one day (though this is unlikely). If you can, next time you get the exception try entering https://en.wikiquote.org/wiki/Main_Page and saving the entire page's HTML to a file, so that I can have a look.
from wikiquote.
No problem. Sorry I forgot to write it down, I'm kinda new to the whole using github thing. Thanks for making this btw! I'm using it to teach a class for high schoolers and its a great interface.
from wikiquote.
👍
from wikiquote.
Related Issues (18)
- Returning "Main Article" links as quotes HOT 1
- Initial Update
- Novice encountered two exceptions--Certificate verify failed HOT 1
- No module named request HOT 2
- UnboundLocalError: local variable 'txt' referenced before assignment HOT 1
- French language seems to be broken HOT 1
- Raspbian / lxml HOT 4
- how to know all available categories? HOT 1
- More languages HOT 2
- French language broken HOT 4
- Errore: ImportError: libxslt.so.1: HOT 2
- image link for QOD? HOT 2
- Get quote author along with quote
- Add Basque language support
- Same quote multiple language HOT 1
- Quote extractor returning bad results HOT 7
- Extracting categories from pages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikiquote.