arthur-debert / google-code-issues-migrator

A simple script to migrate issues from google code to github.
67 stars 56 forks source link

Comments not being imported #2

Closed guikubivan closed 12 years ago

guikubivan commented 13 years ago

Hi again,

I found a valid bug this time. The comments were not being imported because the html structure changed. I found the bug too, chang the line where you find all comments to:

for node in soup.findAll('div', { "class" : re.compile(r'\bvt.+issuecomment\b') }):

Note you need to "import re"

joelpt commented 12 years ago

Fixed in current version. Current version uses the Google Code Projects Hosting API to query the data so this should not become a problem even if Google changes the page's HTML structure again.