@Arrnea: You could also have e-mailed me: nneonneo [at] gmail <dot> com.
EDIT: Ok, Arrnea, I just ran a test conversion. Since I don't have many permissions on the forum, I can only see a few topics, but of those topics I can see, the converter converted all of them.
The result is a large number of "Topic is empty!" messages with the occasional "Completed! Added <n> posts". However, it seems to me that it is working. Remember, NUMTOPICS should be greater than the highest topic ID, not the total number of topics.
EDIT2: So it apparently isn't just my good luck: there's a minor change that needs to be made. iPBfree apparently started checking the user agent of the browser for security reasons, and my script has been logging on with a different user agent than the one it actually uses to crawl the forum.
This is easy to fix: in common.py, change
Code: Select all
req=urllib2.Request(url,headers={'COOKIE':cookiedata,'User-Agent':'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5'})
Code: Select all
req=urllib2.Request(url,headers={'COOKIE':cookiedata})