mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
957155ea4b
commit
776536599e
@ -611,6 +611,14 @@ class StoreBase(Plugin): # {{{
|
|||||||
|
|
||||||
actual_plugin = None
|
actual_plugin = None
|
||||||
|
|
||||||
|
# Does the store only distribute ebooks without DRM.
|
||||||
|
drm_free_only = False
|
||||||
|
# This is the 2 letter country code for the corporate
|
||||||
|
# headquarters of the store.
|
||||||
|
headquarters = ''
|
||||||
|
# All formats the store distributes ebooks in.
|
||||||
|
formats = []
|
||||||
|
|
||||||
def load_actual_plugin(self, gui):
|
def load_actual_plugin(self, gui):
|
||||||
'''
|
'''
|
||||||
This method must return the actual interface action plugin object.
|
This method must return the actual interface action plugin object.
|
||||||
|
@ -1110,7 +1110,7 @@ class StoreAmazonKindleStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.amazon_plugin:AmazonKindleStore'
|
actual_plugin = 'calibre.gui2.store.amazon_plugin:AmazonKindleStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['KINDLE']
|
formats = ['KINDLE']
|
||||||
|
|
||||||
class StoreAmazonDEKindleStore(StoreBase):
|
class StoreAmazonDEKindleStore(StoreBase):
|
||||||
@ -1119,7 +1119,7 @@ class StoreAmazonDEKindleStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.amazon_de_plugin:AmazonDEKindleStore'
|
actual_plugin = 'calibre.gui2.store.amazon_de_plugin:AmazonDEKindleStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'DE'
|
headquarters = 'DE'
|
||||||
formats = ['KINDLE']
|
formats = ['KINDLE']
|
||||||
|
|
||||||
class StoreAmazonUKKindleStore(StoreBase):
|
class StoreAmazonUKKindleStore(StoreBase):
|
||||||
@ -1128,7 +1128,7 @@ class StoreAmazonUKKindleStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.amazon_uk_plugin:AmazonUKKindleStore'
|
actual_plugin = 'calibre.gui2.store.amazon_uk_plugin:AmazonUKKindleStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'UK'
|
headquarters = 'UK'
|
||||||
formats = ['KINDLE']
|
formats = ['KINDLE']
|
||||||
|
|
||||||
class StoreArchiveOrgStore(StoreBase):
|
class StoreArchiveOrgStore(StoreBase):
|
||||||
@ -1137,7 +1137,7 @@ class StoreArchiveOrgStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.archive_org_plugin:ArchiveOrgStore'
|
actual_plugin = 'calibre.gui2.store.archive_org_plugin:ArchiveOrgStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['DAISY', 'DJVU', 'EPUB', 'MOBI', 'PDF', 'TXT']
|
formats = ['DAISY', 'DJVU', 'EPUB', 'MOBI', 'PDF', 'TXT']
|
||||||
|
|
||||||
class StoreBaenWebScriptionStore(StoreBase):
|
class StoreBaenWebScriptionStore(StoreBase):
|
||||||
@ -1146,7 +1146,7 @@ class StoreBaenWebScriptionStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.baen_webscription_plugin:BaenWebScriptionStore'
|
actual_plugin = 'calibre.gui2.store.baen_webscription_plugin:BaenWebScriptionStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'LIT', 'LRF', 'MOBI', 'RB', 'RTF', 'ZIP']
|
formats = ['EPUB', 'LIT', 'LRF', 'MOBI', 'RB', 'RTF', 'ZIP']
|
||||||
|
|
||||||
class StoreBNStore(StoreBase):
|
class StoreBNStore(StoreBase):
|
||||||
@ -1155,7 +1155,7 @@ class StoreBNStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.bn_plugin:BNStore'
|
actual_plugin = 'calibre.gui2.store.bn_plugin:BNStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['NOOK']
|
formats = ['NOOK']
|
||||||
|
|
||||||
class StoreBeamEBooksDEStore(StoreBase):
|
class StoreBeamEBooksDEStore(StoreBase):
|
||||||
@ -1164,7 +1164,7 @@ class StoreBeamEBooksDEStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.beam_ebooks_de_plugin:BeamEBooksDEStore'
|
actual_plugin = 'calibre.gui2.store.beam_ebooks_de_plugin:BeamEBooksDEStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'DE'
|
headquarters = 'DE'
|
||||||
formats = ['MOBI', 'PDF']
|
formats = ['MOBI', 'PDF']
|
||||||
|
|
||||||
class StoreBeWriteStore(StoreBase):
|
class StoreBeWriteStore(StoreBase):
|
||||||
@ -1173,7 +1173,7 @@ class StoreBeWriteStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.bewrite_plugin:BeWriteStore'
|
actual_plugin = 'calibre.gui2.store.bewrite_plugin:BeWriteStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'MOBI', 'PDF']
|
formats = ['EPUB', 'MOBI', 'PDF']
|
||||||
|
|
||||||
class StoreDieselEbooksStore(StoreBase):
|
class StoreDieselEbooksStore(StoreBase):
|
||||||
@ -1182,7 +1182,7 @@ class StoreDieselEbooksStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.diesel_ebooks_plugin:DieselEbooksStore'
|
actual_plugin = 'calibre.gui2.store.diesel_ebooks_plugin:DieselEbooksStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'PDF']
|
formats = ['EPUB', 'PDF']
|
||||||
|
|
||||||
class StoreEbookscomStore(StoreBase):
|
class StoreEbookscomStore(StoreBase):
|
||||||
@ -1191,7 +1191,7 @@ class StoreEbookscomStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.ebooks_com_plugin:EbookscomStore'
|
actual_plugin = 'calibre.gui2.store.ebooks_com_plugin:EbookscomStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'LIT', 'MOBI', 'PDF']
|
formats = ['EPUB', 'LIT', 'MOBI', 'PDF']
|
||||||
|
|
||||||
class StoreEPubBuyDEStore(StoreBase):
|
class StoreEPubBuyDEStore(StoreBase):
|
||||||
@ -1200,7 +1200,7 @@ class StoreEPubBuyDEStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.epubbuy_de_plugin:EPubBuyDEStore'
|
actual_plugin = 'calibre.gui2.store.epubbuy_de_plugin:EPubBuyDEStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'DE'
|
headquarters = 'DE'
|
||||||
formats = ['EPUB']
|
formats = ['EPUB']
|
||||||
|
|
||||||
class StoreEHarlequinStore(StoreBase):
|
class StoreEHarlequinStore(StoreBase):
|
||||||
@ -1209,7 +1209,7 @@ class StoreEHarlequinStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.eharlequin_plugin:EHarlequinStore'
|
actual_plugin = 'calibre.gui2.store.eharlequin_plugin:EHarlequinStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'PDF']
|
formats = ['EPUB', 'PDF']
|
||||||
|
|
||||||
class StoreFeedbooksStore(StoreBase):
|
class StoreFeedbooksStore(StoreBase):
|
||||||
@ -1218,7 +1218,7 @@ class StoreFeedbooksStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.feedbooks_plugin:FeedbooksStore'
|
actual_plugin = 'calibre.gui2.store.feedbooks_plugin:FeedbooksStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'FR'
|
headquarters = 'FR'
|
||||||
formats = ['EPUB', 'MOBI', 'PDF']
|
formats = ['EPUB', 'MOBI', 'PDF']
|
||||||
|
|
||||||
class StoreFoylesUKStore(StoreBase):
|
class StoreFoylesUKStore(StoreBase):
|
||||||
@ -1227,7 +1227,7 @@ class StoreFoylesUKStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.foyles_uk_plugin:FoylesUKStore'
|
actual_plugin = 'calibre.gui2.store.foyles_uk_plugin:FoylesUKStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'UK'
|
headquarters = 'UK'
|
||||||
formats = ['EPUB', 'PDF']
|
formats = ['EPUB', 'PDF']
|
||||||
|
|
||||||
class StoreGandalfStore(StoreBase):
|
class StoreGandalfStore(StoreBase):
|
||||||
@ -1237,7 +1237,7 @@ class StoreGandalfStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.gandalf_plugin:GandalfStore'
|
actual_plugin = 'calibre.gui2.store.gandalf_plugin:GandalfStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'PL'
|
headquarters = 'PL'
|
||||||
formats = ['EPUB', 'PDF']
|
formats = ['EPUB', 'PDF']
|
||||||
|
|
||||||
class StoreGoogleBooksStore(StoreBase):
|
class StoreGoogleBooksStore(StoreBase):
|
||||||
@ -1246,7 +1246,7 @@ class StoreGoogleBooksStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.google_books_plugin:GoogleBooksStore'
|
actual_plugin = 'calibre.gui2.store.google_books_plugin:GoogleBooksStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'PDF', 'TXT']
|
formats = ['EPUB', 'PDF', 'TXT']
|
||||||
|
|
||||||
class StoreGutenbergStore(StoreBase):
|
class StoreGutenbergStore(StoreBase):
|
||||||
@ -1255,7 +1255,7 @@ class StoreGutenbergStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.gutenberg_plugin:GutenbergStore'
|
actual_plugin = 'calibre.gui2.store.gutenberg_plugin:GutenbergStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'HTML', 'MOBI', 'PDB', 'TXT']
|
formats = ['EPUB', 'HTML', 'MOBI', 'PDB', 'TXT']
|
||||||
|
|
||||||
class StoreKoboStore(StoreBase):
|
class StoreKoboStore(StoreBase):
|
||||||
@ -1264,7 +1264,7 @@ class StoreKoboStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.kobo_plugin:KoboStore'
|
actual_plugin = 'calibre.gui2.store.kobo_plugin:KoboStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB']
|
formats = ['EPUB']
|
||||||
|
|
||||||
class StoreManyBooksStore(StoreBase):
|
class StoreManyBooksStore(StoreBase):
|
||||||
@ -1273,7 +1273,7 @@ class StoreManyBooksStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.manybooks_plugin:ManyBooksStore'
|
actual_plugin = 'calibre.gui2.store.manybooks_plugin:ManyBooksStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'FB2', 'JAR', 'LIT', 'LRF', 'MOBI', 'PDB', 'PDF', 'RB', 'RTF', 'TCR', 'TXT', 'ZIP']
|
formats = ['EPUB', 'FB2', 'JAR', 'LIT', 'LRF', 'MOBI', 'PDB', 'PDF', 'RB', 'RTF', 'TCR', 'TXT', 'ZIP']
|
||||||
|
|
||||||
class StoreMobileReadStore(StoreBase):
|
class StoreMobileReadStore(StoreBase):
|
||||||
@ -1282,7 +1282,7 @@ class StoreMobileReadStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.mobileread.mobileread_plugin:MobileReadStore'
|
actual_plugin = 'calibre.gui2.store.mobileread.mobileread_plugin:MobileReadStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'CH'
|
headquarters = 'CH'
|
||||||
formats = ['EPUB', 'IMP', 'LRF', 'LIT', 'MOBI', 'PDF']
|
formats = ['EPUB', 'IMP', 'LRF', 'LIT', 'MOBI', 'PDF']
|
||||||
|
|
||||||
class StoreNextoStore(StoreBase):
|
class StoreNextoStore(StoreBase):
|
||||||
@ -1292,7 +1292,7 @@ class StoreNextoStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.nexto_plugin:NextoStore'
|
actual_plugin = 'calibre.gui2.store.nexto_plugin:NextoStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'PL'
|
headquarters = 'PL'
|
||||||
formats = ['EPUB', 'PDF']
|
formats = ['EPUB', 'PDF']
|
||||||
|
|
||||||
class StoreOpenLibraryStore(StoreBase):
|
class StoreOpenLibraryStore(StoreBase):
|
||||||
@ -1301,7 +1301,7 @@ class StoreOpenLibraryStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.open_library_plugin:OpenLibraryStore'
|
actual_plugin = 'calibre.gui2.store.open_library_plugin:OpenLibraryStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = ['US']
|
headquarters = ['US']
|
||||||
formats = ['DAISY', 'DJVU', 'EPUB', 'MOBI', 'PDF', 'TXT']
|
formats = ['DAISY', 'DJVU', 'EPUB', 'MOBI', 'PDF', 'TXT']
|
||||||
|
|
||||||
class StoreOReillyStore(StoreBase):
|
class StoreOReillyStore(StoreBase):
|
||||||
@ -1310,7 +1310,7 @@ class StoreOReillyStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.oreilly_plugin:OReillyStore'
|
actual_plugin = 'calibre.gui2.store.oreilly_plugin:OReillyStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['APK', 'DAISY', 'EPUB', 'MOBI', 'PDF']
|
formats = ['APK', 'DAISY', 'EPUB', 'MOBI', 'PDF']
|
||||||
|
|
||||||
class StorePragmaticBookshelfStore(StoreBase):
|
class StorePragmaticBookshelfStore(StoreBase):
|
||||||
@ -1319,7 +1319,7 @@ class StorePragmaticBookshelfStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.pragmatic_bookshelf_plugin:PragmaticBookshelfStore'
|
actual_plugin = 'calibre.gui2.store.pragmatic_bookshelf_plugin:PragmaticBookshelfStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'MOBI', 'PDF']
|
formats = ['EPUB', 'MOBI', 'PDF']
|
||||||
|
|
||||||
class StoreSmashwordsStore(StoreBase):
|
class StoreSmashwordsStore(StoreBase):
|
||||||
@ -1328,7 +1328,7 @@ class StoreSmashwordsStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.smashwords_plugin:SmashwordsStore'
|
actual_plugin = 'calibre.gui2.store.smashwords_plugin:SmashwordsStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'HTML', 'LRF', 'MOBI', 'PDB', 'RTF', 'TXT']
|
formats = ['EPUB', 'HTML', 'LRF', 'MOBI', 'PDB', 'RTF', 'TXT']
|
||||||
|
|
||||||
class StoreWaterstonesUKStore(StoreBase):
|
class StoreWaterstonesUKStore(StoreBase):
|
||||||
@ -1337,7 +1337,7 @@ class StoreWaterstonesUKStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.waterstones_uk_plugin:WaterstonesUKStore'
|
actual_plugin = 'calibre.gui2.store.waterstones_uk_plugin:WaterstonesUKStore'
|
||||||
|
|
||||||
drm_free_only = False
|
drm_free_only = False
|
||||||
location = 'UK'
|
headquarters = 'UK'
|
||||||
formats = ['EPUB', 'PDF']
|
formats = ['EPUB', 'PDF']
|
||||||
|
|
||||||
class StoreWeightlessBooksStore(StoreBase):
|
class StoreWeightlessBooksStore(StoreBase):
|
||||||
@ -1346,7 +1346,7 @@ class StoreWeightlessBooksStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.weightless_books_plugin:WeightlessBooksStore'
|
actual_plugin = 'calibre.gui2.store.weightless_books_plugin:WeightlessBooksStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'US'
|
headquarters = 'US'
|
||||||
formats = ['EPUB', 'HTML', 'LIT', 'MOBI', 'PDF']
|
formats = ['EPUB', 'HTML', 'LIT', 'MOBI', 'PDF']
|
||||||
|
|
||||||
class StoreWizardsTowerBooksStore(StoreBase):
|
class StoreWizardsTowerBooksStore(StoreBase):
|
||||||
@ -1355,7 +1355,7 @@ class StoreWizardsTowerBooksStore(StoreBase):
|
|||||||
actual_plugin = 'calibre.gui2.store.wizards_tower_books_plugin:WizardsTowerBooksStore'
|
actual_plugin = 'calibre.gui2.store.wizards_tower_books_plugin:WizardsTowerBooksStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
location = 'UK'
|
headquarters = 'UK'
|
||||||
formats = ['EPUB', 'MOBI']
|
formats = ['EPUB', 'MOBI']
|
||||||
|
|
||||||
plugins += [
|
plugins += [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user