HOW-TO correctly parse date in python with feedparser for Plugins infoLabels()
#1
Thumbs Up 
Code:
d = feedparser.parse(url)
for entry in  d.entries:
     date_p = entry.date_parsed
     date = time.strftime("%d.%m.%Y", date_p)
PS: don't forget "import time"

Maybe someone need it in the future Smile
Reply
#2
Thanks, as you said, it could be useful in the future Smile
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply

Logout Mark Read Team Forum Stats Members Help
HOW-TO correctly parse date in python with feedparser for Plugins infoLabels()0