From 35f755005da5ed1fbefd64316071f24053ac8411 Mon Sep 17 00:00:00 2001 From: Maks Snegov Date: Sun, 22 Jun 2014 13:12:35 +0400 Subject: [PATCH] fix: do not work with GET arguments --- nevernote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nevernote.py b/nevernote.py index 3e86ab0..5b778fc 100755 --- a/nevernote.py +++ b/nevernote.py @@ -52,7 +52,7 @@ def download_content(url, depth=0): else: raise NotImplementedError("protocol %s is not implemented" % up.scheme) - conn.request("GET", up.path, None, headers) + conn.request("GET", '?'.join((up.path, up.query)), None, headers) response = conn.getresponse() # follow redirects