Permalink
Browse files

doh

  • Loading branch information...
ralsina committed Aug 23, 2015
1 parent 9c23c16 commit 8e39b17fad025257978a02cc5cde585df2925389
Showing with 1 addition and 1 deletion.
  1. +1 −1 v7/import_page/import_page.py
@@ -61,7 +61,7 @@ def _execute(self, options, args):
self._import_page(url)
def _import_page(self, url):
r = requests.get('http://en.wikipedia.org/wiki/Information_extraction')
r = requests.get(url)
if 199 < r.status_code < 300: # Got it
# Use the page's title
doc = lxml.html.fromstring(r.content)

0 comments on commit 8e39b17

Please sign in to comment.