Jun-18-2017, 01:34 AM
my question here
Here is a line of code that I can't not convert to python 3
[images = [urlparse.urljoin(response.url, url) for url in images]
here the error
Traceback (most recent call last):
File "C:\Users\renny\Desktop\get_photo.py", line 16, in <module>
images = [urlparse.urljoin(response.url, url) for url in images]
File "C:\Users\renny\Desktop\get_photo.py", line 16, in <listcomp>
images = [urlparse.urljoin(response.url, url) for url in images]
AttributeError: 'function' object has no attribute 'urljoi]
I hope some one can help
thank you
renny
Here is a line of code that I can't not convert to python 3
[images = [urlparse.urljoin(response.url, url) for url in images]
here the error
Traceback (most recent call last):
File "C:\Users\renny\Desktop\get_photo.py", line 16, in <module>
images = [urlparse.urljoin(response.url, url) for url in images]
File "C:\Users\renny\Desktop\get_photo.py", line 16, in <listcomp>
images = [urlparse.urljoin(response.url, url) for url in images]
AttributeError: 'function' object has no attribute 'urljoi]
I hope some one can help
thank you
renny
