[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:
Goffin Simon
2015-10-08 11:02:38 +02:00
parent 88bda36b9b
commit eae28fbc0a
+1 -1
View File
@@ -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