Fix broken scraper and other fixes to make it work again - #2
Open
greaterthanstar wants to merge 8 commits into
Open
Fix broken scraper and other fixes to make it work again#2greaterthanstar wants to merge 8 commits into
greaterthanstar wants to merge 8 commits into
Conversation
…mport without a file extension.
…ss DDoS-Guard and handle catalog records gracefully
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey guys,
I love this project, it works so well for quickly finding books but it seems to have been abandoned.
Recently it stopped working so I've been using Antigravity to get it to work again. A quick fix for you might be to
Repositoryfield in Unraid to beghcr.io/greaterthanstar/ephemera:latestwhich will pull my latest changes.isversion..pkis using DDos-Guard which cannot be bypassed by Flaresolvr.The changes I made are in this PR. Basically it:
Scraper update
Anna's Archive recently redesigned their search result HTML across all of their domains (.is, .pk, .org, etc.):
Automatic Mirror Fallback & URL Sanitization Code
Automatic Fallback: Added code in scraper.ts so that if your configured AA_BASE_URL (like .pk) gets blocked by DDoS-Guard, the scraper automatically routes through the .is version in the background.
Developer Build Fix
Fixed pnpm dev in package.json by adding "predev": "pnpm --filter @ephemera/shared build" so @ephemera/shared builds automatically when running local development.