Giter VIP home page Giter VIP logo

Comments (5)

federicotdn avatar federicotdn commented on August 23, 2024

Could you share the exact exception message you got? Also, were you using the English or French version?

from wikiquote.

a-vilmin avatar a-vilmin commented on August 23, 2024

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.

federicotdn avatar federicotdn commented on August 23, 2024

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.

a-vilmin avatar a-vilmin commented on August 23, 2024

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.

federicotdn avatar federicotdn commented on August 23, 2024

👍

from wikiquote.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.