Skip to content
  • Robert Lancaster's avatar
    This patch will remove some objects from the info_url file because those... · 27ed8112
    Robert Lancaster authored and Jasem Mutlaq's avatar Jasem Mutlaq committed
    This patch will remove some objects from the info_url file because those objects are no longer in the database under that name.  This should clear up some of the errors that appear on KStars startup.  Also, I added a function to save the urls of the wikipedia pages found by what’s interesting in the info_url file so that we can build a database just like I did with the images.  Also, I added a couple of lines of code so that if whats interesting checks a URL for an object, gets a result, and then finds that their either is no article by that name or no info box on the page, it saves a placeholder file with a notice to the user about the article not existing.  This way, it won’t keep trying to download the articles that don’t exist.  And finally, I corrected an error where an incorrect image URL would be saved by whats interesting if in fact there was no image in the table.  Now it doesn’t try to download and save a non existent image, nor does it record the url.
    27ed8112