[amazon/fr] Update after site changes

This commit is contained in:
Kitof 2015-03-29 16:40:57 +02:00
commit 0bf4ee54d3
2 changed files with 2 additions and 4 deletions

3
modules/amazon/fr/browser.py Normal file → Executable file
View file

@ -32,7 +32,8 @@ class AmazonFR(Amazon):
CURRENCY = u''
home = URL(r'/$', r'.*/homepage\.html.*', HomePage)
login = URL(r'/ap/signin/.*$', LoginPage)
history = URL(r'/gp/css/order-history.*$', HistoryPage)
history = URL(r'/gp/css/order-history.*$',
r'/gp/your-account/order-history.*$', HistoryPage)
order_old = URL(r'/gp/css/summary.*$',
r'/gp/css/summary/edit.html\?orderID=%\(order_id\)s',
r'/gp/digital/your-account/order-summary.html.*$',

View file

@ -101,9 +101,6 @@ class OrderPage(AmazonPage):
class OrderNewPage(OrderPage):
# Need to force encoding because of mixed encoding
forced_encoding = True
ENCODING = 'ISO-8859-15'
is_here = u'//*[contains(text(),"Commandé le")]'
def order(self):