fix mit, add redliclibros, nai010 bookshop
parent
03e71be2df
commit
37a5486abe
|
@ -85,6 +85,7 @@ STOREPROVIDERS = [
|
||||||
'manchesteruniversitypress.co.uk',
|
'manchesteruniversitypress.co.uk',
|
||||||
'mitpress.mit.edu',
|
'mitpress.mit.edu',
|
||||||
'munishop.muni.cz',
|
'munishop.muni.cz',
|
||||||
|
'nai010.com',
|
||||||
'nomos-shop.de',
|
'nomos-shop.de',
|
||||||
'palgrave.com',
|
'palgrave.com',
|
||||||
'placedeslibraires.fr',
|
'placedeslibraires.fr',
|
||||||
|
|
|
@ -138,6 +138,7 @@ CMPPROVIDERS = [
|
||||||
'omp.ub.rub.de',
|
'omp.ub.rub.de',
|
||||||
'penerbit.brin.go.id',
|
'penerbit.brin.go.id',
|
||||||
'press.uni.lodz.pl',
|
'press.uni.lodz.pl',
|
||||||
|
'redliclibros.com',
|
||||||
'Scholars Portal',
|
'Scholars Portal',
|
||||||
'teiresias-supplements.mcgill.ca',
|
'teiresias-supplements.mcgill.ca',
|
||||||
'textbooks.open.tudelft.nl',
|
'textbooks.open.tudelft.nl',
|
||||||
|
@ -938,9 +939,11 @@ def harvest_muse(ebook):
|
||||||
|
|
||||||
|
|
||||||
def harvest_mitpress(ebook):
|
def harvest_mitpress(ebook):
|
||||||
|
def selector(doc):
|
||||||
|
return doc.select('a.book-pdfLink[href]')
|
||||||
def chap_selector(doc):
|
def chap_selector(doc):
|
||||||
return doc.select('a.section-pdfLink[href]')
|
return doc.select('a.section-pdfLink[href]')
|
||||||
return harvest_stapled_generic(ebook, None, chap_selector, strip_covers=0)
|
return harvest_stapled_generic(ebook, selector, chap_selector, strip_covers=0)
|
||||||
|
|
||||||
|
|
||||||
def harvest_ios(ebook):
|
def harvest_ios(ebook):
|
||||||
|
|
Loading…
Reference in New Issue