Amazon-Wishlist
Amazon-Wishlist copied to clipboard
can't get list in US
In [13]: data = wishlist.Query('1HKUH6GT3JAUL', country='us')
IOError Traceback (most recent call last)
/usr/local/lib/python2.7/dist-packages/amazonwishlist/wishlist.pyc in init(self, userid, country) 33 self.country = country 34 self.page = None ---> 35 self._download() 36 37 def _download(self):
/usr/local/lib/python2.7/dist-packages/amazonwishlist/wishlist.pyc in _download(self) 44 '&items-per-page=9999'] 45 url = 'http://www.amazon' + self.domain + '/wishlist/' + self.userid + ''.join(query) ---> 46 self.page = helpers._parser(url) 47 48 def authors(self):
/usr/local/lib/python2.7/dist-packages/amazonwishlist/helpers.pyc in _parser(url) 32 page = etree.parse(url, parser) 33 except IOError: ---> 34 raise IOError("Failed to download page data, check your connection") 35 36 try:
IOError: Failed to download page data, check your connection
I know it's been a while but just a heads up as another used approached me via e-mail about it. Both UK and US stores changed their design considerably and as it relies on scraping, I"ll have to sit down for a long moment and figure out how to better call XPath on their different pages. I did not forget this issue :-)
Thank you, Caio. I appreciate it.
Join me in fighting back against cancer
- http://goo.gl/qcBlUi*
Order a "team RUNNING MY @$#! OFF" wicking headband, with proceeds going to ACS at http://larry.wapnitsky.com/shopping http://larry.wapnitsky.com/shopping
Broad Street Run 2014
On Wed, May 7, 2014 at 8:19 AM, Caio Begotti [email protected]:
I know it's been a while but just a heads up as another used approached me via e-mail about it. Both UK and US stores changed their design considerably and as it relies on scraping, I"ll have to sit down for a long moment and figure out how to better call XPath on their different pages. I did not forget this issue :-)
— Reply to this email directly or view it on GitHubhttps://github.com/caio1982/Amazon-Wishlist/issues/2#issuecomment-42419801 .