mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update plugin for new affiliate codes.
This commit is contained in:
parent
a19bc736e9
commit
1323644b8d
@ -1,7 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from __future__ import (unicode_literals, division, absolute_import, print_function)
|
from __future__ import (unicode_literals, division, absolute_import, print_function)
|
||||||
store_version = 4 # Needed for dynamic plugin loading
|
store_version = 5 # Needed for dynamic plugin loading
|
||||||
|
|
||||||
__license__ = 'GPL 3'
|
__license__ = 'GPL 3'
|
||||||
__copyright__ = '2011, John Schember <john@nachtimwald.com>'
|
__copyright__ = '2011, John Schember <john@nachtimwald.com>'
|
||||||
@ -25,9 +25,9 @@ from calibre.gui2.store.web_store_dialog import WebStoreDialog
|
|||||||
class LibreDEStore(BasicStoreConfig, StorePlugin):
|
class LibreDEStore(BasicStoreConfig, StorePlugin):
|
||||||
|
|
||||||
def open(self, parent=None, detail_item=None, external=False):
|
def open(self, parent=None, detail_item=None, external=False):
|
||||||
url = 'http://ad.zanox.com/ppc/?18817073C15644254T'
|
url = 'https://www.awin1.com/awclick.php?mid=9359&awinaffid=397537&clickref=gbhome'
|
||||||
url_details = ('http://ad.zanox.com/ppc/?18848208C1197627693T&ULP=[['
|
url_details = ('https://www.awin1.com/cread.php?awinmid=9359&awinaffid=397537&clickref=gbdetails&p='
|
||||||
'http://www.ebook.de/shop/action/productDetails?artiId={0}]]')
|
'http%3A//www.ebook.de/shop/action/productDetails%3FartiId%3D{0}')
|
||||||
|
|
||||||
if external or self.config.get('open_external', False):
|
if external or self.config.get('open_external', False):
|
||||||
if detail_item:
|
if detail_item:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user