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

« back to all changes in this revision

Viewing changes to src/calibre/gui2/store/stores/amazon_de_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>'
67
67
                        './/ul[contains(@class, "rsltGridList")]'
68
68
                        '//span[contains(@class, "lrg") and not(contains(@class, "bld"))]/text()')
69
69
                asin_xpath = '@name'
70
 
                cover_xpath = './/img[@class="productImage"]/@src'
 
70
                cover_xpath = './/img[contains(@class, "productImage")]/@src'
71
71
                title_xpath = './/h3[@class="newaps"]/a//text()'
72
72
                author_xpath = './/h3[@class="newaps"]//span[contains(@class, "reg")]//text()'
73
73
                price_xpath = (
156
156
 
157
157
    def get_details(self, search_result, timeout):
158
158
        pass
 
159