Permalink
Browse files

For PennyPress, auto-include URL

  • Loading branch information...
1 parent 1c4b3af commit ac976a482ff3fb98a726153d792d22e27b7c2621 @edavis committed Jan 31, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 newsclips2.py
View
@@ -59,6 +59,7 @@ def duplicate(self):
mention.medium = 'Online'
mention.format = 'Op-Ed'
mention.media = 'Penny Press NV'
+ mention.url = re.search('(?P<url>[^ ]+)', line).group('url')
else:
mention = Article(line)
else:

0 comments on commit ac976a4

Please sign in to comment.