I'm sitting down in front of a piece of code which was an idea that I now don't know what to do or how to implement anymore. It was an image notification bot in which would go through several of the densely populated no source / no copyright categories and go off to notify the user. Unfortunately, the upload logs are not consistant, and a database needs to be rebuilt if I were not to query the information directly from the database.
Well, when I originally made the suggestion, I was thinking that it would be easy enough to simply scrape the HTML of the image description page to get the username of the original uploader. Which would be less efficient than doing a SQL query directly, but would have the benefit of working Right Now. -B.
See, the problem is that I'm already using the pywikipedia framework to do that, meaning I'd be querying the page twice. I'm still trying to figure out where is the whole text of the damn thing in the code. Furthermore, I have yet to figure out what to do for those converted by the image conversion script.
On Wed, Oct 26, 2005 at 02:20:28AM -0400, Christopher Beland wrote:
I'm sitting down in front of a piece of code which was an idea that I now don't know what to do or how to implement anymore. It was an image notification bot in which would go through several of the densely populated no source / no copyright categories and go off to notify the user. Unfortunately, the upload logs are not consistant, and a database needs to be rebuilt if I were not to query the information directly from the database.
Well, when I originally made the suggestion, I was thinking that it would be easy enough to simply scrape the HTML of the image description page to get the username of the original uploader. Which would be less efficient than doing a SQL query directly, but would have the benefit of working Right Now. -B. _______________________________________________ Toolserver-l mailing list Toolserver-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/toolserver-l
toolserver-l@lists.wikimedia.org