- commit
- a4d1cc5a971705d85eb44366ec69d3c5148541f1
- parent
- fa14732848d2b643d1988e583602b470c591fb27
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2015-02-07 20:10
show not just summary, but content (if available)
Diffstat
| M | plutopluto/__init__.py | 2 | ++ |
1 files changed, 2 insertions, 0 deletions
diff --git a/plutopluto/__init__.py b/plutopluto/__init__.py
@@ -53,6 +53,8 @@ def parse(url): 53 53 head = tree.find_all('a')[1] 54 54 img = tree.find_all('a')[0] 55 55 d['content'] = strip_atts(unicode(head) + ' ' + unicode(img)) -1 56 elif 'content' in item: -1 57 d['content'] = strip_atts(item['content'][0]['value']) 56 58 else: 57 59 d['content'] = strip_atts(item.get('description')) 58 60 return d