~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/gui2/store/stores/amazon_uk_plugin.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-02-27 07:48:06 UTC
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: package-import@ubuntu.com-20140227074806-64wdebb3ptosxhhx
Tags: upstream-1.25.0+dfsg
ImportĀ upstreamĀ versionĀ 1.25.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
2
 
3
3
from __future__ import (unicode_literals, division, absolute_import, print_function)
4
 
store_version = 4 # Needed for dynamic plugin loading
 
4
store_version = 5 # Needed for dynamic plugin loading
5
5
 
6
6
__license__ = 'GPL 3'
7
7
__copyright__ = '2011, John Schember <john@nachtimwald.com>'
70
70
                        './/ul[contains(@class, "rsltGridList")]'
71
71
                        '//span[contains(@class, "lrg") and not(contains(@class, "bld"))]/text()')
72
72
                asin_xpath = '@name'
73
 
                cover_xpath = './/img[@class="productImage"]/@src'
 
73
                cover_xpath = './/img[contains(@class, "productImage")]/@src'
74
74
                title_xpath = './/h3[@class="newaps"]/a//text()'
75
75
                author_xpath = './/h3[@class="newaps"]//span[contains(@class, "reg")]//text()'
76
76
                price_xpath = (