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 domain extraction. #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hanwentao
Copy link

It extracts URLs without paths correctly now.

It extracts URLs without paths correctly now.
@brentvollebregt
Copy link
Owner

brentvollebregt commented Jun 20, 2022

This is taking about x6 longer on half a million rows - do you think there is any way to speed this up?

Also is the site still working for you after this change? It seems to be giving me a sqlite3.OperationalError: user-defined function raised exception now.

@hanwentao
Copy link
Author

Maybe we can try normalizing the URL when inserted into DB, so the cost is not paid when querying. The code works on my machine.

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