Skip to content
Browse files

fix #17: percent-encoding Unicode URLs on Google+

  • Loading branch information...
1 parent 7b32b73 commit 3341bddfcaf0bb2d20ca078b6c56e0899952798f @soimort committed Oct 23, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 you_get/downloader/googleplus.py
View
3 you_get/downloader/googleplus.py
@@ -5,6 +5,9 @@
from ..common import *
def googleplus_download(url, output_dir = '.', merge = True, info_only = False):
+ # Percent-encoding Unicode URL
+ url = parse.quote(url, safe = ':/')
+
html = get_html(url)
html = parse.unquote(html).replace('\/', '/')

0 comments on commit 3341bdd

Please sign in to comment.
Something went wrong with that request. Please try again.