Bugs item #2860956, was opened at 2009-09-17 23:11 Message generated for change (Comment added) made by cygnus78 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Daniel Bengtsson (cygnus78) Assigned to: Nobody/Anonymous (nobody) Summary: getVersionHistory() does not work anymore
Initial Comment: python version.py Pywikipedia [http] trunk/pywikipedia (r7268, 2009/09/17, 15:52:03) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3]
I have not investigated very thoroughly but the function returns [] and I can see that the page source no longer matches the regexp. The regexp starts with <li class=".*?"> but the page source does not specify class for <li>. But that is not the only difference. By the way this problem was found using a bot that operates on wikimedia commons.
----------------------------------------------------------------------
Comment By: Daniel Bengtsson (cygnus78)
Date: 2009-09-17 23:21
Message: Actually it seems that the <li class=".*?"> was the only problem. Switching that part to just <li> and it works fine here.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956...