[FIX] website_links: urlencode
The values inside the dictionary passed to urlencode from urllib must be in 'utf-8' and url_encode from werkzeug can treat unicode inside the dictionary. opw:651471
This commit is contained in:
@@ -5,7 +5,7 @@ import re
|
||||
import string
|
||||
|
||||
from lxml.html import parse
|
||||
from urllib import urlencode
|
||||
from werkzeug import url_encode as urlencode
|
||||
from urllib2 import urlopen
|
||||
from urlparse import urljoin
|
||||
from urlparse import urlparse
|
||||
|
||||
Reference in New Issue
Block a user