fix comment date.
This commit is contained in:
		| @@ -36,7 +36,9 @@ def _parse_comment(soup): | |||||||
|         c['authorLink'] = _soup_get_text(soup.find('link')) |         c['authorLink'] = _soup_get_text(soup.find('link')) | ||||||
|     if soup.find('description'): |     if soup.find('description'): | ||||||
|         c['text'] = _soup_get_text(soup.find('description')) |         c['text'] = _soup_get_text(soup.find('description')) | ||||||
|     if soup.find('pubDate'): |     if soup.find('pubdate'): | ||||||
|  |         c['date'] = unix(soup.find('pubdate').text) | ||||||
|  |     elif soup.find('pubDate'): | ||||||
|         c['date'] = unix(soup.find('pubDate').text) |         c['date'] = unix(soup.find('pubDate').text) | ||||||
|  |  | ||||||
|     return c |     return c | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user