[amazon/fr] Update after site changes
This commit is contained in:
parent
81a6ecfc14
commit
0bf4ee54d3
2 changed files with 2 additions and 4 deletions
3
modules/amazon/fr/browser.py
Normal file → Executable file
3
modules/amazon/fr/browser.py
Normal file → Executable file
|
|
@ -32,7 +32,8 @@ class AmazonFR(Amazon):
|
||||||
CURRENCY = u'€'
|
CURRENCY = u'€'
|
||||||
home = URL(r'/$', r'.*/homepage\.html.*', HomePage)
|
home = URL(r'/$', r'.*/homepage\.html.*', HomePage)
|
||||||
login = URL(r'/ap/signin/.*$', LoginPage)
|
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.*$',
|
order_old = URL(r'/gp/css/summary.*$',
|
||||||
r'/gp/css/summary/edit.html\?orderID=%\(order_id\)s',
|
r'/gp/css/summary/edit.html\?orderID=%\(order_id\)s',
|
||||||
r'/gp/digital/your-account/order-summary.html.*$',
|
r'/gp/digital/your-account/order-summary.html.*$',
|
||||||
|
|
|
||||||
|
|
@ -101,9 +101,6 @@ class OrderPage(AmazonPage):
|
||||||
|
|
||||||
|
|
||||||
class OrderNewPage(OrderPage):
|
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")]'
|
is_here = u'//*[contains(text(),"Commandé le")]'
|
||||||
|
|
||||||
def order(self):
|
def order(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue