Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bookwyrm): do not rely on title for bookwyrm detection #268

Merged
merged 2 commits into from
May 21, 2023

Conversation

thiagojedi
Copy link
Contributor

This was preventing preview on BW instances that changes the title (e.g. https://velhaestante.com.br/book/11624/s/the-name-of-the-wind ).

The regular expression used here is the same one used by BW itself (see BOOK_PATH, SLUG, and full path).

@GeopJr
Copy link
Owner

GeopJr commented May 21, 2023

LGTM, thanks!

I moved it to main so we don't create a new instance every time, passed the OPTIMIZE flag and handled the error

@GeopJr GeopJr merged commit 1a6362e into GeopJr:main May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants