recipe: yomiuri_world: fix for fetching date field

This commit is contained in:
Hiroshi Miura 2010-11-28 23:58:20 +09:00
parent 5f5c41e495
commit 21969e157c

View File

@ -50,11 +50,9 @@ class YOLNews(BasicNewsRecipe):
itema = itt.find('a',href=True)
if itema:
itd1 = itema.findNextSibling(text = True)
itd2 = itd1.findNextSibling(text = True)
itd3 = itd2.findNextSibling(text = True)
newsarticles.append({
'title' :itema.string
,'date' :''.join([itd1, itd2, itd3])
,'date' :''.join([itd1])
,'url' :'http://www.yomiuri.co.jp' + itema['href']
,'description':''
})