Merge pull request #1060 from Gluejar/maintenance-2024

fix more covers
pull/94/head
Eric Hellman 2024-10-21 15:19:08 -04:00 committed by GitHub
commit 6fbb87bdae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 91 additions and 1 deletions

View File

@ -1022,7 +1022,7 @@ def harvest_pensoft(ebook):
def harvest_edp(ebook):
def selector(doc):
return doc.select_one('a.fulldl[href]')
return doc.select_one('a.book-dl[href]')
if ebook.url.endswith('.pdf'):
return harvest_generic(ebook, user_agent=settings.CHROME_UA)
return harvest_one_generic(ebook, selector, user_agent=settings.CHROME_UA)

View File

@ -6,6 +6,96 @@ from regluit.core.models import Edition, Work
from regluit.core.loaders.doab import store_doab_cover
to_fix = [
"20.500.12854/107832",
"20.500.12854/107837",
"20.500.12854/107840",
"20.500.12854/107842",
"20.500.12854/107857",
"20.500.12854/107861",
"20.500.12854/107862",
"20.500.12854/107865",
"20.500.12854/107868",
"20.500.12854/107884",
"20.500.12854/107893",
"20.500.12854/107894",
"20.500.12854/107896",
"20.500.12854/107909",
"20.500.12854/107914",
"20.500.12854/107920",
"20.500.12854/107921",
"20.500.12854/107928",
"20.500.12854/107935",
"20.500.12854/107938",
"20.500.12854/107952",
"20.500.12854/114287",
"20.500.12854/114376",
"20.500.12854/114378",
"20.500.12854/114380",
"20.500.12854/114381",
"20.500.12854/114383",
"20.500.12854/115842",
"20.500.12854/115843",
"20.500.12854/115844",
"20.500.12854/115976",
"20.500.12854/115991",
"20.500.12854/116099",
"20.500.12854/116126",
"20.500.12854/116130",
"20.500.12854/116164",
"20.500.12854/116175",
"20.500.12854/116471",
"20.500.12854/116486",
"20.500.12854/121414",
"20.500.12854/121415",
"20.500.12854/121640",
"20.500.12854/136546",
"20.500.12854/41911",
"20.500.12854/47305",
"20.500.12854/58546",
"20.500.12854/76719",
"20.500.12854/88320",
"20.500.12854/88413",
"20.500.12854/88414",
"20.500.12854/88453",
"20.500.12854/88479",
"20.500.12854/88655",
"20.500.12854/88656",
"20.500.12854/88657",
"20.500.12854/88659",
"20.500.12854/88660",
"20.500.12854/88661",
"20.500.12854/88662",
"20.500.12854/88663",
"20.500.12854/88664",
"20.500.12854/88665",
"20.500.12854/88666",
"20.500.12854/88667",
"20.500.12854/88668",
"20.500.12854/88669",
"20.500.12854/88670",
"20.500.12854/88671",
"20.500.12854/88675",
"20.500.12854/88677",
"20.500.12854/88678",
"20.500.12854/88679",
"20.500.12854/88680",
"20.500.12854/88681",
"20.500.12854/88683",
"20.500.12854/88686",
"20.500.12854/88687",
"20.500.12854/89178",
"20.500.12854/89252",
"20.500.12854/89255",
"20.500.12854/89257",
"20.500.12854/89260",
"20.500.12854/89265",
"20.500.12854/89441",
"20.500.12854/89490",
"20.500.12854/89496",
"20.500.12854/89498",
"20.500.12854/89514",
"20.500.12854/91350",
"20.500.12854/96212",
]
missing = [
]