aboutsummaryrefslogtreecommitdiff
path: root/feedgetter.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-08-25 22:17:31 +0200
committercedricbonhomme <devnull@localhost>2011-08-25 22:17:31 +0200
commitaa135653e325dc596c56e62aae574a4eea5ae373 (patch)
tree8c35608ff4b58b513b9e22382fdfa47030fcea6a /feedgetter.py
parentMinor improvement of the control script (test if there is an argument). (diff)
downloadnewspipe-aa135653e325dc596c56e62aae574a4eea5ae373.tar.gz
newspipe-aa135653e325dc596c56e62aae574a4eea5ae373.tar.bz2
newspipe-aa135653e325dc596c56e62aae574a4eea5ae373.zip
HTML tags between <code> tags are now escaped by a regular expression.
Diffstat (limited to 'feedgetter.py')
-rwxr-xr-xfeedgetter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/feedgetter.py b/feedgetter.py
index f60286e7..9e65e385 100755
--- a/feedgetter.py
+++ b/feedgetter.py
@@ -135,7 +135,7 @@ class FeedGetter(object):
article_title = str(BeautifulSoup(article.title))
try:
- post_date = datetime(*article.updated_parsed[:6])
+ post_date = datetime(*article.updated_parsed[:6])
except:
post_date = datetime(*article.published_parsed[:6])
bgstack15