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

full JP address will break HighlightSimilarListingsJob #8

Open
mwsmws22 opened this issue Jan 8, 2022 · 1 comment
Open

full JP address will break HighlightSimilarListingsJob #8

mwsmws22 opened this issue Jan 8, 2022 · 1 comment

Comments

@mwsmws22
Copy link
Owner

mwsmws22 commented Jan 8, 2022

Most sites only use address like: 東京都練馬区練馬1
But at least one site, aeras, displays a full address in the listing search panel

If a full address was used, the HighlightSimilarListingsJob would break due to the following line

out.address = JobUtils.buildAddress(out.property, 4, listing.address.includes("丁目"))

@mwsmws22
Copy link
Owner Author

Also diyp uses full address

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

No branches or pull requests

1 participant