From 71c63649ab40c78d8868e502d4e79af6d63134cf Mon Sep 17 00:00:00 2001 From: Rafal Date: Fri, 1 Aug 2014 10:39:52 +0100 Subject: [PATCH] Allow to download files without description. --- xgoogle/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xgoogle/search.py b/xgoogle/search.py index 98b681e..1985f82 100755 --- a/xgoogle/search.py +++ b/xgoogle/search.py @@ -237,7 +237,7 @@ def _extract_results(self, soup): def _extract_result(self, result): title, url = self._extract_title_url(result) desc = self._extract_description(result) - if not title or not url or not desc: + if not title or not url: return None return SearchResult(title, url, desc)