aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/utils.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-01-21 08:05:39 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-01-21 08:05:39 +0100
commit2b5cedd394f9219b605a0e9cd7f89335b338b62e (patch)
treed2b1ac57fa10e6b0c78e099edac404945b5752a4 /pyaggr3g470r/utils.py
parentOrder feeds by title for the HTML export. (diff)
downloadnewspipe-2b5cedd394f9219b605a0e9cd7f89335b338b62e.tar.gz
newspipe-2b5cedd394f9219b605a0e9cd7f89335b338b62e.tar.bz2
newspipe-2b5cedd394f9219b605a0e9cd7f89335b338b62e.zip
First implementation with asyncio (not really async for the moment).
Diffstat (limited to 'pyaggr3g470r/utils.py')
-rwxr-xr-xpyaggr3g470r/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/utils.py b/pyaggr3g470r/utils.py
index ed86a04c..d815d02b 100755
--- a/pyaggr3g470r/utils.py
+++ b/pyaggr3g470r/utils.py
@@ -188,9 +188,10 @@ def clean_url(url):
"""
Remove utm_* parameters
"""
+ return url
parsed_url = urlparse(url)
qd = parse_qs(parsed_url.query, keep_blank_values=True)
- filtered = dict((k, v) for k, v in qd.iteritems()
+ filtered = dict((k, v) for k, v in qd.items()
if not k.startswith('utm_'))
return urlunparse([
parsed_url.scheme,
bgstack15