Bug #1808

[amazon] Website updated

Added by Oleg Plakhotniuk about 2 years ago. Updated almost 2 years ago.

Status:Resolved Start:2015-03-27
Priority:Normal Due date:
Assigned to:Oleg Plakhotniuk % Done:

100%

Category:Modules Spent time: -
Target version:1.1
Module:amazon Branch:

Description

History page URL has changed. Currently it throws exception when trying to iterate orders:

<ipython-input-1-7c64b51aec56> in <module>()
----> 1 next(backend.iter_orders())

/srv/pub/projects/weboob/repo/modules/amazon/browser.py in iter_orders(self)
     63         histRoot = self.to_history()
     64         for histYear in histRoot.iter_years():
---> 65             for order in histYear.iter_orders():
     66                 if order.order():
     67                     yield order.order()

AttributeError: 'AmazonPage' object has no attribute 'iter_orders'

Associated revisions

Revision 67d3499fc059926baeadbd6bb105141d49d5d6b6
Added by Oleg Plakhotniuk almost 2 years ago

[amazon] Scrape the updated website. Closes #1808

History

Updated by Oleg Plakhotniuk about 2 years ago

  • Status changed from In progress to To merge
  • % Done changed from 50 to 100

Done in branch issue1808

Updated by Oleg Plakhotniuk almost 2 years ago

  • Status changed from To merge to Resolved

Updated by Romain Bignon almost 2 years ago

  • Target version set to 1.1

Also available in: Atom PDF