Skip to content

Commit

Permalink
fix #17: percent-encoding Unicode URLs on Google+
Browse files Browse the repository at this point in the history
  • Loading branch information
soimort committed Oct 23, 2012
1 parent 7b32b73 commit 3341bdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions you_get/downloader/googleplus.py
Expand Up @@ -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('\/', '/')

Expand Down

0 comments on commit 3341bdd

Please sign in to comment.