Skip to content
Commit 27ed8112 authored by Robert Lancaster's avatar Robert Lancaster Committed by Jasem Mutlaq
Browse files

This patch will remove some objects from the info_url file because those...

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.
parent de3b4f38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment