View Single Post
Old 11-12-2014, 08:03 PM   #1
ireadtheinternet
Member
ireadtheinternet began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Oct 2014
Device: Android
Question update date in populate_article_metadata?

Why does this work:

Code:
    def populate_article_metadata(self, article, soup, first):
        article.title='Hello'
but this doesn't work:

Code:
    def populate_article_metadata(self, article, soup, first):
        article.date = '1/25/2014'
Or do you think it is something I am doing wrong elsewhere in the recipe?
ireadtheinternet is offline   Reply With Quote